SAGA API  v9.6
CSG_Points Class Reference

#include <geo_tools.h>

Public Member Functions

 CSG_Points (void)
 
 CSG_Points (const CSG_Points &Points)
 
 CSG_Points (sLong nPoints, TSG_Array_Growth Growth=TSG_Array_Growth::SG_ARRAY_GROWTH_1)
 
bool Clear (void)
 
CSG_Pointsoperator= (const CSG_Points &Points)
 
bool Assign (const CSG_Points &Points)
 
bool Add (double x, double y)
 
bool Add (const TSG_Point &Point)
 
bool Del (sLong Index)
 
bool Set_Count (sLong nPoints)
 
sLong Get_Count (void) const
 
TSG_PointGet_Points (void) const
 
TSG_Pointoperator[] (sLong Index)
 
const TSG_Pointoperator[] (sLong Index) const
 

Detailed Description

Definition at line 183 of file geo_tools.h.

Constructor & Destructor Documentation

◆ CSG_Points() [1/3]

CSG_Points::CSG_Points ( void  )

Definition at line 316 of file geo_classes.cpp.

References CSG_Array::Create().

◆ CSG_Points() [2/3]

CSG_Points::CSG_Points ( const CSG_Points Points)

Definition at line 321 of file geo_classes.cpp.

References Assign(), and CSG_Array::Create().

◆ CSG_Points() [3/3]

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

Definition at line 328 of file geo_classes.cpp.

References CSG_Array::Create().

Member Function Documentation

◆ Add() [1/2]

bool CSG_Points::Add ( const TSG_Point Point)
inline

Definition at line 196 of file geo_tools.h.

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

Referenced by Add().

◆ Add() [2/2]

◆ Assign()

bool CSG_Points::Assign ( const CSG_Points Points)

◆ Clear()

bool CSG_Points::Clear ( void  )
inline

Definition at line 190 of file geo_tools.h.

Referenced by CSG_TIN_Node::Get_Polygon().

◆ Del()

bool CSG_Points::Del ( sLong  Index)
inline

Definition at line 197 of file geo_tools.h.

◆ Get_Count()

◆ Get_Points()

TSG_Point* CSG_Points::Get_Points ( void  ) const
inline

Definition at line 202 of file geo_tools.h.

◆ operator=()

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

Definition at line 192 of file geo_tools.h.

◆ operator[]() [1/2]

TSG_Point& CSG_Points::operator[] ( sLong  Index)
inline

Definition at line 204 of file geo_tools.h.

◆ operator[]() [2/2]

const TSG_Point& CSG_Points::operator[] ( sLong  Index) const
inline

Definition at line 205 of file geo_tools.h.

◆ Set_Count()

bool CSG_Points::Set_Count ( sLong  nPoints)
inline

Definition at line 199 of file geo_tools.h.


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