|
SAGA API
v9.6
|
Go to the documentation of this file.
109 switch( Vertex_Type )
163 if( del_Part >= 0 && del_Part <
m_nParts )
169 for(
int iPart=del_Part; iPart<
m_nParts; iPart++)
185 for(
int iPart=
m_nParts-1; iPart>=0; iPart--)
217 Set_Z(p.
z, iPoint, iPart);
230 Set_Z(p.
z, iPoint, iPart);
231 Set_M(p.
m, iPoint, iPart);
255 Set_Z(p.
z, iPoint, iPart);
268 Set_Z(p.
z, iPoint, iPart);
269 Set_M(p.
m, iPoint, iPart);
298 if( iPoint <
m_pParts[iPart]->Get_Count() )
319 for(
int iPart=0; iPart<
m_nParts; iPart++)
407 for(
int iPart=1; iPart<
m_nParts && Distance!=0.; iPart++)
411 if( iDistance >= 0. && (iDistance < Distance || Distance < 0.) )
413 Distance = iDistance; Next = iNext;
423 double Distance = -1.;
425 if( iPart >= 0 && iPart <
m_nParts )
429 for(
int iPoint=0; iPoint<
m_pParts[iPart]->
Get_Count() && Distance!=0.; iPoint++, pPoint++)
433 if( iDistance < Distance || Distance < 0. )
435 Distance = iDistance; Next = *pPoint;
506 for(
int iPart=0; iPart<
m_nParts; iPart++)
512 if( Extent.
xMin <= p->
x && p->
x <= Extent.
xMax
513 && Extent.
yMin <= p->
y && p->
y <= Extent.
yMax )
CSG_Shape_Part ** m_pParts
virtual double Get_MMax(void)
virtual double Get_Z(int iPoint=0, int iPart=0, bool bAscending=true) const
virtual void Set_Z(double z, int iPoint=0, int iPart=0)
virtual int Del_Parts(void)
virtual bool On_Assign(CSG_Shape *pShape)
void _Update_Extent(void)
virtual void Destroy(void)
virtual int Set_Point(double x, double y, int iPoint=0, int iPart=0)
TSG_Shape_Type Get_Type(void) const
virtual bool Assign(CSG_Shape_Part *pPart)
virtual TSG_Point Get_Point(int iPoint=0) const
virtual TSG_Point Get_Point(int iPoint=0) const =0
virtual void Destroy(void)
virtual double Get_Distance(TSG_Point Point) const
virtual void Set_M(double m, int iPoint=0, int iPart=0)
virtual int Get_Part_Count(void) const =0
virtual int Ins_Point(double x, double y, int iPoint, int iPart=0)
const CSG_Rect & Get_Extent(void)
virtual double Get_ZMax(void)
TSG_Vertex_Type Get_Vertex_Type(void) const
double SG_Get_Distance(double ax, double ay, double bx, double by, bool bPolar)
void Set_M(double m, int iPoint)
virtual CSG_Shape_Part * _Get_Part(void)
virtual void Assign(double x, double y)
virtual int Add_Point(double x, double y, int iPart=0)
virtual ~CSG_Shape_Points(void)
void Set_Z(double z, int iPoint)
virtual double Get_M(int iPoint=0, int iPart=0, bool bAscending=true) const
CSG_Rect & Union(double x, double y)
virtual void _Invalidate(void)
virtual int Get_Point_Count(void) const =0
virtual int Add_Part(class CSG_Shape_Part *pPart, bool bRevert=false)
virtual CSG_Shape_Part * Get_Part(int iPart) const
CSG_Shape_Points(class CSG_Shapes *pOwner, sLong Index)
int Get_Count(void) const
virtual TSG_Intersection On_Intersects(CSG_Shape *pShape)
virtual int Del_Point(int iPoint, int iPart=0)
virtual int Get_Point_Count(void) const
SAGA_API_DLL_EXPORT void * SG_Realloc(void *memblock, size_t size)
virtual int Get_Part_Count(void) const
virtual int Del_Part(int iPart)
virtual bool is_Equal(const CSG_Point &Point, double epsilon=0.) const
virtual TSG_Point Get_Centroid(void)