SAGA API  v9.5
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 424 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 CSG_Array::Create().

◆ 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(), and CSG_Array::Create().

◆ 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.

References CSG_Array::Create().

Member Function Documentation

◆ Add() [1/2]

bool CSG_Points_Int::Add ( const TSG_Point_Int Point)
inline

Definition at line 437 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 
)

◆ Assign()

bool CSG_Points_Int::Assign ( const CSG_Points_Int Points)

◆ Clear()

bool CSG_Points_Int::Clear ( void  )
inline

Definition at line 431 of file geo_tools.h.

◆ Del()

bool CSG_Points_Int::Del ( sLong  Index)
inline

Definition at line 438 of file geo_tools.h.

◆ Get_Count()

sLong CSG_Points_Int::Get_Count ( void  ) const
inline

Definition at line 441 of file geo_tools.h.

◆ Get_Points()

TSG_Point_Int* CSG_Points_Int::Get_Points ( void  ) const
inline

Definition at line 443 of file geo_tools.h.

◆ operator=()

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

Definition at line 433 of file geo_tools.h.

◆ operator[]() [1/2]

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

Definition at line 445 of file geo_tools.h.

◆ operator[]() [2/2]

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

Definition at line 446 of file geo_tools.h.

◆ Set_Count()

bool CSG_Points_Int::Set_Count ( sLong  nPoints)
inline

Definition at line 440 of file geo_tools.h.


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