|
SAGA API
v9.6
|
Go to the documentation of this file.
81 if( !pTIN->
is_Valid() ) {
delete(pTIN);
return( NULL ); }
return( pTIN );
179 if( pShapes && pShapes->
is_Valid() )
363 bool bResult =
false;
382 bResult = Points.
Save(File);
416 pNode->m_Point = Point;
483 if( a->_Add_Neighbor(b) )
489 if( b->_Add_Neighbor(c) )
495 if( c->_Add_Neighbor(a) )
501 a->_Add_Triangle(pTriangle);
502 b->_Add_Triangle(pTriangle);
503 c->_Add_Triangle(pTriangle);
CSG_Rect & Assign(double xMin, double yMin, double xMax, double yMax)
CSG_TIN_Node * Add_Node(const TSG_Point &Point, CSG_Table_Record *pRecord=NULL, bool bUpdateNow=false)
CSG_TIN_Triangle ** m_Triangles
virtual bool Del_Records(void)
void Set_File_Name(const CSG_String &FileName)
CSG_MetaData & Get_History(void)
virtual CSG_Shape * Get_Shape(const CSG_Point &Point, double Epsilon=0.)
bool Update(bool bForce=false)
bool Del_Node(sLong Index, bool bUpdateNow)
CSG_TIN_Node * Get_Node(int iNode)
bool _Destroy_Nodes(void)
@ SG_UI_MSG_STYLE_SUCCESS
CSG_TIN_Node * Get_Node(sLong Index) const
virtual bool Save(const CSG_String &File, int Format=0)
virtual bool On_Reload(void)
bool Create(const CSG_Shapes &Shapes)
virtual bool is_Valid(void) const
sLong Get_Node_Count(void) const
virtual bool On_Delete(void)
virtual TSG_Data_Object_Type Get_ObjectType(void) const
Returns the object type as defined by TSG_Data_Object_Type. Used for run time type checking.
sLong Get_Triangle_Count(void) const
virtual bool Destroy(void)
const SG_Char * Get_Name(void) const
SAGA_API_DLL_EXPORT void SG_Free(void *memblock)
virtual TSG_Data_Object_Type Get_ObjectType(void) const =0
Returns the object type as defined by TSG_Data_Object_Type. Used for run time type checking.
CSG_TIN * SG_Create_TIN(void)
bool _Destroy_Triangles(void)
virtual bool is_Valid(void) const
void Set_Update_Flag(bool bOn=true)
virtual void Set_Modified(bool bModified=true)
virtual TSG_Point Get_Point(int iPoint=0) const =0
virtual CSG_Shape * Add_Shape(CSG_Table_Record *pCopy=NULL, TSG_ADD_Shape_Copy_Mode mCopy=SHAPE_COPY)
@ SG_UI_MSG_STYLE_FAILURE
virtual int Get_Part_Count(void) const =0
virtual bool Assign(CSG_Data_Object *pObject)
virtual bool Save(const CSG_String &File, int Format=0)
CSG_TIN_Triangle * Add_Triangle(CSG_TIN_Node *p0, CSG_TIN_Node *p1, CSG_TIN_Node *p2)
bool Triangulate(bool bOn=true, bool bUpdate=false)
void _On_Construction(void)
sLong Get_Count(void) const
const SG_Char * Get_File_Name(bool bNative=true) const
virtual int Add_Point(double x, double y, int iPart=0)=0
CSG_Rect & Union(double x, double y)
void Set_Name(const CSG_String &Name)
static CSG_String Format(const char *Format,...)
virtual int Get_Point_Count(void) const =0
virtual bool Del_Record(sLong Index)
bool SG_UI_Process_Set_Progress(int Position, int Range)
virtual bool Destroy(void)
CSG_TIN_Triangle * _Add_Triangle(CSG_TIN_Node *a, CSG_TIN_Node *b, CSG_TIN_Node *c)
sLong Get_Index(void) const
CSG_TIN_Triangle * Get_Triangle(sLong Index) const
CSG_TIN_Edge * _Add_Edge(CSG_TIN_Node *a, CSG_TIN_Node *b)
virtual CSG_Table_Record * _Get_New_Record(sLong Index)
bool SG_UI_Process_Set_Ready(void)
SAGA_API_DLL_EXPORT void * SG_Realloc(void *memblock, size_t size)
virtual CSG_Table_Record * Add_Record(CSG_Table_Record *pCopy=NULL)
virtual bool On_Update(void)
virtual bool is_Valid(void) const =0
bool _Destroy_Edges(void)
void SG_UI_Msg_Add(const char *Message, bool bNewLine, TSG_UI_MSG_STYLE Style)
virtual void _On_Construction(void)
const TSG_Point & Get_Point(void)