SAGA API v9.10
Loading...
Searching...
No Matches
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 184 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 SG_ARRAY_GROWTH_1.

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

◆ CSG_Points() [2/3]

CSG_Points::CSG_Points ( const CSG_Points & Points)

Definition at line 321 of file geo_classes.cpp.

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

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

Member Function Documentation

◆ Add() [1/2]

bool CSG_Points::Add ( const TSG_Point & Point)
inline

Definition at line 197 of file geo_tools.h.

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

Referenced by Add().

◆ Add() [2/2]

bool CSG_Points::Add ( double x,
double y )

◆ Assign()

bool CSG_Points::Assign ( const CSG_Points & Points)

◆ Clear()

bool CSG_Points::Clear ( void )
inline

Definition at line 191 of file geo_tools.h.

Referenced by CSG_TIN_Node::Get_Polygon().

◆ Del()

bool CSG_Points::Del ( sLong Index)
inline

Definition at line 198 of file geo_tools.h.

◆ Get_Count()

◆ Get_Points()

TSG_Point * CSG_Points::Get_Points ( void ) const
inline

Definition at line 203 of file geo_tools.h.

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

◆ operator=()

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

Definition at line 193 of file geo_tools.h.

References Assign(), and CSG_Points().

◆ operator[]() [1/2]

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

Definition at line 205 of file geo_tools.h.

References Get_Points().

◆ operator[]() [2/2]

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

Definition at line 206 of file geo_tools.h.

References Get_Points().

◆ Set_Count()

bool CSG_Points::Set_Count ( sLong nPoints)
inline

Definition at line 200 of file geo_tools.h.


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