SAGA API  v9.6
shapes.cpp File Reference
#include "shapes.h"
#include "pointcloud.h"
#include "tool_library.h"

Go to the source code of this file.

Functions

CSG_String SG_Get_ShapeType_Name (TSG_Shape_Type Type)
 
CSG_ShapesSG_Create_Shapes (void)
 
CSG_ShapesSG_Create_Shapes (const CSG_Shapes &Shapes)
 
CSG_ShapesSG_Create_Shapes (const char *File)
 
CSG_ShapesSG_Create_Shapes (const wchar_t *File)
 
CSG_ShapesSG_Create_Shapes (const CSG_String &File)
 
CSG_ShapesSG_Create_Shapes (TSG_Shape_Type Type, const SG_Char *Name, CSG_Table *pTemplate, TSG_Vertex_Type Vertex_Type)
 
CSG_ShapesSG_Create_Shapes (CSG_Shapes *pTemplate)
 

Function Documentation

◆ SG_Create_Shapes() [1/7]

CSG_Shapes* SG_Create_Shapes ( const char *  File)

Safe shapes construction

Definition at line 107 of file shapes.cpp.

References SG_Create_Shapes().

◆ SG_Create_Shapes() [2/7]

CSG_Shapes* SG_Create_Shapes ( const CSG_Shapes Shapes)

Safe shapes construction

Definition at line 91 of file shapes.cpp.

References CSG_Shapes::Get_ObjectType(), SG_Create_PointCloud(), SG_DATAOBJECT_TYPE_PointCloud, and SG_DATAOBJECT_TYPE_Shapes.

◆ SG_Create_Shapes() [3/7]

CSG_Shapes* SG_Create_Shapes ( const CSG_String File)

Safe shapes construction

Definition at line 109 of file shapes.cpp.

References CSG_Shapes::is_Valid().

◆ SG_Create_Shapes() [4/7]

CSG_Shapes* SG_Create_Shapes ( const wchar_t *  File)

Safe shapes construction

Definition at line 108 of file shapes.cpp.

References SG_Create_Shapes().

◆ SG_Create_Shapes() [5/7]

◆ SG_Create_Shapes() [6/7]

CSG_Shapes* SG_Create_Shapes ( TSG_Shape_Type  Type,
const SG_Char Name = NULL,
CSG_Table pTemplate = NULL,
TSG_Vertex_Type  Vertex_Type = SG_VERTEX_TYPE_XY 
)

Safe shapes construction

Definition at line 117 of file shapes.cpp.

◆ SG_Create_Shapes() [7/7]

CSG_Shapes* SG_Create_Shapes ( void  )

Safe shapes construction

Definition at line 85 of file shapes.cpp.

Referenced by SG_Create_Shapes(), and SG_Create_Table().

◆ SG_Get_ShapeType_Name()

CSG_String SG_Get_ShapeType_Name ( TSG_Shape_Type  Type)

Definition at line 65 of file shapes.cpp.

References _TL, SHAPE_TYPE_Line, SHAPE_TYPE_Point, SHAPE_TYPE_Points, and SHAPE_TYPE_Polygon.