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

Go to the source code of this file.

Macros

#define PC_FILE_VERSION   "SGPC01"
 
#define PC_STR_NBYTES   32
 
#define PC_DAT_NBYTES   32
 
#define PC_GET_NBYTES(type)   (type == SG_DATATYPE_String ? PC_STR_NBYTES : type == SG_DATATYPE_Date ? PC_DAT_NBYTES : (int)SG_Data_Type_Get_Size(type))
 
#define m_Field_Size(FIELD)   PC_GET_NBYTES(m_Field_Type[FIELD])
 
#define m_Field_Size(FIELD)   PC_GET_NBYTES(m_Field_Type[FIELD])
 

Functions

CSG_PointCloudSG_Create_PointCloud (void)
 
CSG_PointCloudSG_Create_PointCloud (const CSG_PointCloud &PointCloud)
 
CSG_PointCloudSG_Create_PointCloud (const char *File)
 
CSG_PointCloudSG_Create_PointCloud (const wchar_t *File)
 
CSG_PointCloudSG_Create_PointCloud (const CSG_String &File)
 
CSG_PointCloudSG_Create_PointCloud (CSG_PointCloud *pStructure)
 

Macro Definition Documentation

◆ m_Field_Size [1/2]

#define m_Field_Size (   FIELD)    PC_GET_NBYTES(m_Field_Type[FIELD])

◆ m_Field_Size [2/2]

#define m_Field_Size (   FIELD)    PC_GET_NBYTES(m_Field_Type[FIELD])

◆ PC_DAT_NBYTES

#define PC_DAT_NBYTES   32

Definition at line 64 of file pointcloud.cpp.

◆ PC_FILE_VERSION

#define PC_FILE_VERSION   "SGPC01"

Definition at line 61 of file pointcloud.cpp.

◆ PC_GET_NBYTES

#define PC_GET_NBYTES (   type)    (type == SG_DATATYPE_String ? PC_STR_NBYTES : type == SG_DATATYPE_Date ? PC_DAT_NBYTES : (int)SG_Data_Type_Get_Size(type))

Definition at line 66 of file pointcloud.cpp.

◆ PC_STR_NBYTES

#define PC_STR_NBYTES   32

Definition at line 63 of file pointcloud.cpp.

Function Documentation

◆ SG_Create_PointCloud() [1/6]

CSG_PointCloud* SG_Create_PointCloud ( const char *  File)

Safe Point Cloud construction

Definition at line 88 of file pointcloud.cpp.

References SG_Create_PointCloud().

◆ SG_Create_PointCloud() [2/6]

CSG_PointCloud* SG_Create_PointCloud ( const CSG_PointCloud PointCloud)

Safe Point Cloud construction

Definition at line 82 of file pointcloud.cpp.

References CSG_Data_Manager::PointCloud().

◆ SG_Create_PointCloud() [3/6]

CSG_PointCloud* SG_Create_PointCloud ( const CSG_String File)

Safe Point Cloud construction

Definition at line 90 of file pointcloud.cpp.

◆ SG_Create_PointCloud() [4/6]

CSG_PointCloud* SG_Create_PointCloud ( const wchar_t *  File)

Safe Point Cloud construction

Definition at line 89 of file pointcloud.cpp.

References SG_Create_PointCloud().

◆ SG_Create_PointCloud() [5/6]

CSG_PointCloud* SG_Create_PointCloud ( CSG_PointCloud pStructure)

Safe Point Cloud construction

Definition at line 96 of file pointcloud.cpp.

◆ SG_Create_PointCloud() [6/6]

CSG_PointCloud* SG_Create_PointCloud ( void  )

Safe Point Cloud construction

Definition at line 76 of file pointcloud.cpp.

Referenced by SG_Create_PointCloud(), and SG_Create_Shapes().