|
SAGA API
v9.6
|
Go to the documentation of this file.
107 #define GET_GROW_SIZE(n) (n < 128 ? 1 : (n < 2048 ? 32 : 256))
118 int nBuffer = (nPoints / nGrow) * nGrow;
120 while( nBuffer < nPoints )
241 if(
m_Z ) {
m_Z[iPoint] = 0.; }
242 if(
m_M ) {
m_M[iPoint] = 0.; }
358 if( pPoints && pPoints->
Get_Count() > 0 )
360 for(
int i=0; i<pPoints->
Get_Count(); i++)
374 for(
int i=0, j=
m_nPoints-1; i<j; i++, j--)
CSG_Rect & Assign(double xMin, double yMin, double xMax, double yMax)
class CSG_Shape_Points * m_pOwner
virtual bool Destroy(void)
SAGA_API_DLL_EXPORT void SG_Free(void *memblock)
virtual void _Invalidate(void)
class CSG_Table * Get_Table(void)
CSG_Shape_Part(class CSG_Shape_Points *pOwner)
virtual bool Assign(CSG_Shape_Part *pPart)
int Ins_Point(double x, double y, int iPoint)
virtual ~CSG_Shape_Part(void)
void Set_M(double m, int iPoint)
void Set_Z(double z, int iPoint)
virtual void _Update_Extent(void)
virtual void _Invalidate(void)
void Add_Value(double Value, double Weight=1.)
int Add_Point(double x, double y)
int Del_Point(int iPoint)
int Get_Count(void) const
int Set_Point(double x, double y, int iPoint)
virtual bool _Alloc_Memory(int nPoints)
bool Add_Points(CSG_Shape_Part *pPoints, bool bAscending=true)
TSG_Point_4D Get_Point_ZM(int iPoint, bool bAscending=true) const
SAGA_API_DLL_EXPORT void * SG_Realloc(void *memblock, size_t size)