SAGA API v9.10
Loading...
Searching...
No Matches
CSG_Points_Int Class Reference

#include <geo_tools.h>

Public Member Functions

 CSG_Points_Int (void)
 CSG_Points_Int (const CSG_Points_Int &Points)
 CSG_Points_Int (sLong nPoints, TSG_Array_Growth Growth=TSG_Array_Growth::SG_ARRAY_GROWTH_1)
bool Clear (void)
CSG_Points_Intoperator= (const CSG_Points_Int &Points)
bool Assign (const CSG_Points_Int &Points)
bool Add (int x, int y)
bool Add (const TSG_Point_Int &Point)
bool Del (sLong Index)
bool Set_Count (sLong nPoints)
sLong Get_Count (void) const
TSG_Point_IntGet_Points (void) const
TSG_Point_Intoperator[] (sLong Index)
const TSG_Point_Intoperator[] (sLong Index) const

Detailed Description

Definition at line 427 of file geo_tools.h.

Constructor & Destructor Documentation

◆ CSG_Points_Int() [1/3]

CSG_Points_Int::CSG_Points_Int ( void )

Definition at line 606 of file geo_classes.cpp.

References SG_ARRAY_GROWTH_1.

Referenced by Assign(), CSG_Points_Int(), and operator=().

◆ CSG_Points_Int() [2/3]

CSG_Points_Int::CSG_Points_Int ( const CSG_Points_Int & Points)

Definition at line 611 of file geo_classes.cpp.

References Assign(), CSG_Points_Int(), and SG_ARRAY_GROWTH_1.

◆ CSG_Points_Int() [3/3]

CSG_Points_Int::CSG_Points_Int ( sLong nPoints,
TSG_Array_Growth Growth = TSG_Array_Growth::SG_ARRAY_GROWTH_1 )

Definition at line 618 of file geo_classes.cpp.

Member Function Documentation

◆ Add() [1/2]

bool CSG_Points_Int::Add ( const TSG_Point_Int & Point)
inline

Definition at line 440 of file geo_tools.h.

References Add(), SSG_Point_Int::x, and SSG_Point_Int::y.

Referenced by Add().

◆ Add() [2/2]

bool CSG_Points_Int::Add ( int x,
int y )

Definition at line 640 of file geo_classes.cpp.

References SSG_Point_Int::x, and SSG_Point_Int::y.

◆ Assign()

bool CSG_Points_Int::Assign ( const CSG_Points_Int & Points)

Definition at line 624 of file geo_classes.cpp.

References CSG_Points_Int(), CSG_Array::Get_Array(), and CSG_Array::Get_Size().

Referenced by CSG_Points_Int(), and operator=().

◆ Clear()

bool CSG_Points_Int::Clear ( void )
inline

Definition at line 434 of file geo_tools.h.

◆ Del()

bool CSG_Points_Int::Del ( sLong Index)
inline

Definition at line 441 of file geo_tools.h.

◆ Get_Count()

sLong CSG_Points_Int::Get_Count ( void ) const
inline

Definition at line 444 of file geo_tools.h.

◆ Get_Points()

TSG_Point_Int * CSG_Points_Int::Get_Points ( void ) const
inline

Definition at line 446 of file geo_tools.h.

Referenced by operator[](), and operator[]().

◆ operator=()

CSG_Points_Int & CSG_Points_Int::operator= ( const CSG_Points_Int & Points)
inline

Definition at line 436 of file geo_tools.h.

References Assign(), and CSG_Points_Int().

◆ operator[]() [1/2]

TSG_Point_Int & CSG_Points_Int::operator[] ( sLong Index)
inline

Definition at line 448 of file geo_tools.h.

References Get_Points().

◆ operator[]() [2/2]

const TSG_Point_Int & CSG_Points_Int::operator[] ( sLong Index) const
inline

Definition at line 449 of file geo_tools.h.

References Get_Points().

◆ Set_Count()

bool CSG_Points_Int::Set_Count ( sLong nPoints)
inline

Definition at line 443 of file geo_tools.h.


The documentation for this class was generated from the following files: