SAGA API
v9.6
|
#include <tin.h>
Public Member Functions | |
int | Get_ID (void) |
const TSG_Point & | Get_Point (void) |
double | Get_X (void) |
double | Get_Y (void) |
int | Get_Neighbor_Count (void) |
CSG_TIN_Node * | Get_Neighbor (int iNeighbor) |
double | Get_Gradient (int iNeighbor, int iField) |
int | Get_Triangle_Count (void) |
class CSG_TIN_Triangle * | Get_Triangle (int iTriangle) |
bool | Get_Polygon (CSG_Points &Points) |
double | Get_Polygon_Area (void) |
Public Member Functions inherited from CSG_Table_Record | |
class CSG_Table * | Get_Table (void) |
sLong | Get_Index (void) const |
bool | Set_Value (int Field, const CSG_String &Value) |
bool | Set_Value (int Field, const char *Value) |
bool | Set_Value (int Field, const wchar_t *Value) |
bool | Set_Value (const CSG_String &Field, const CSG_String &Value) |
bool | Set_Value (const char *Field, const CSG_String &Value) |
bool | Set_Value (const wchar_t *Field, const CSG_String &Value) |
bool | Set_Value (const char *Field, const char *Value) |
bool | Set_Value (const wchar_t *Field, const wchar_t *Value) |
bool | Set_Value (int Field, const CSG_Bytes &Value) |
bool | Set_Value (const CSG_String &Field, const CSG_Bytes &Value) |
bool | Set_Value (const char *Field, const CSG_Bytes &Value) |
bool | Set_Value (const wchar_t *Field, const CSG_Bytes &Value) |
bool | Set_Value (int Field, double Value) |
bool | Set_Value (const CSG_String &Field, double Value) |
bool | Set_Value (const char *Field, double Value) |
bool | Set_Value (const wchar_t *Field, double Value) |
bool | Set_Value (int Field, sLong Value) |
bool | Set_Value (const CSG_String &Field, sLong Value) |
bool | Set_Value (const char *Field, sLong Value) |
bool | Set_Value (const wchar_t *Field, sLong Value) |
bool | Set_Value (int Field, size_t Value) |
bool | Set_Value (const CSG_String &Field, size_t Value) |
bool | Set_Value (const char *Field, size_t Value) |
bool | Set_Value (const wchar_t *Field, size_t Value) |
bool | Set_Value (int Field, DWORD Value) |
bool | Set_Value (const CSG_String &Field, DWORD Value) |
bool | Set_Value (const char *Field, DWORD Value) |
bool | Set_Value (const wchar_t *Field, DWORD Value) |
bool | Set_Value (int Field, long Value) |
bool | Set_Value (const CSG_String &Field, long Value) |
bool | Set_Value (const char *Field, long Value) |
bool | Set_Value (const wchar_t *Field, long Value) |
bool | Set_Value (int Field, int Value) |
bool | Set_Value (const CSG_String &Field, int Value) |
bool | Set_Value (const char *Field, int Value) |
bool | Set_Value (const wchar_t *Field, int Value) |
bool | Add_Value (int Field, double Value) |
bool | Add_Value (const CSG_String &Field, double Value) |
bool | Add_Value (const char *Field, double Value) |
bool | Add_Value (const wchar_t *Field, double Value) |
bool | Mul_Value (int Field, double Value) |
bool | Mul_Value (const CSG_String &Field, double Value) |
bool | Mul_Value (const char *Field, double Value) |
bool | Mul_Value (const wchar_t *Field, double Value) |
bool | Set_NoData (int Field) |
bool | Set_NoData (const CSG_String &Field) |
bool | Set_NoData (const char *Field) |
bool | Set_NoData (const wchar_t *Field) |
bool | is_NoData (int Field) const |
bool | is_NoData (const CSG_String &Field) const |
bool | is_NoData (const char *Field) const |
bool | is_NoData (const wchar_t *Field) const |
const SG_Char * | asString (int Field, int Decimals=-99) const |
const SG_Char * | asString (const CSG_String &Field, int Decimals=-99) const |
const SG_Char * | asString (const char *Field, int Decimals=-99) const |
const SG_Char * | asString (const wchar_t *Field, int Decimals=-99) const |
SG_Char | asChar (int Field) const |
SG_Char | asChar (const CSG_String &Field) const |
SG_Char | asChar (const char *Field) const |
SG_Char | asChar (const wchar_t *Field) const |
short | asShort (int Field) const |
short | asShort (const CSG_String &Field) const |
short | asShort (const char *Field) const |
short | asShort (const wchar_t *Field) const |
int | asInt (int Field) const |
int | asInt (const CSG_String &Field) const |
int | asInt (const char *Field) const |
int | asInt (const wchar_t *Field) const |
sLong | asLong (int Field) const |
sLong | asLong (const CSG_String &Field) const |
sLong | asLong (const char *Field) const |
sLong | asLong (const wchar_t *Field) const |
float | asFloat (int iField) const |
float | asFloat (const CSG_String &Field) const |
float | asFloat (const char *Field) const |
float | asFloat (const wchar_t *Field) const |
double | asDouble (int Field) const |
double | asDouble (const CSG_String &Field) const |
double | asDouble (const char *Field) const |
double | asDouble (const wchar_t *Field) const |
CSG_Table_Value * | Get_Value (int Field) |
CSG_Table_Value & | operator[] (int Field) const |
virtual bool | Assign (CSG_Table_Record *pRecord) |
bool | is_Selected (void) const |
bool | is_Modified (void) const |
Friends | |
class | CSG_TIN |
Additional Inherited Members | |
Protected Member Functions inherited from CSG_Table_Record | |
CSG_Table_Record (class CSG_Table *pTable, sLong Index) | |
virtual | ~CSG_Table_Record (void) |
void | Set_Selected (bool bOn=true) |
void | Set_Modified (bool bOn=true) |
bool | _Add_Field (int add_Field) |
bool | _Del_Field (int del_Field) |
int | _Get_Field (const CSG_String &Field) const |
Static Protected Member Functions inherited from CSG_Table_Record | |
static CSG_Table_Value * | _Create_Value (TSG_Data_Type Type) |
Protected Attributes inherited from CSG_Table_Record | |
char | m_Flags |
sLong | m_Index |
class CSG_Table_Value ** | m_Values |
class CSG_Table * | m_pTable |
double CSG_TIN_Node::Get_Gradient | ( | int | iNeighbor, |
int | iField | ||
) |
Definition at line 145 of file tin_elements.cpp.
References CSG_Table_Record::asDouble(), Get_Neighbor(), Get_X(), and Get_Y().
|
inline |
Definition at line 105 of file tin.h.
Referenced by Get_Gradient().
|
inline |
Definition at line 100 of file tin.h.
Referenced by CSG_TIN::Assign(), CSG_TIN::On_Update(), and CSG_TIN::Save().
bool CSG_TIN_Node::Get_Polygon | ( | CSG_Points & | Points | ) |
Definition at line 175 of file tin_elements.cpp.
References CSG_Points::Add(), CSG_Points_3D::Add(), CSG_Points::Clear(), CSG_TIN_Triangle::Get_CircumCircle_Point(), CSG_Points_3D::Get_Count(), SG_TIN_Compare_Triangle_Center(), SSG_Point::x, and SSG_Point::y.
Referenced by Get_Polygon_Area().
double CSG_TIN_Node::Get_Polygon_Area | ( | void | ) |
Definition at line 204 of file tin_elements.cpp.
References Get_Polygon(), and SG_Get_Polygon_Area().
|
inline |
|
inline |
Definition at line 108 of file tin.h.
References CSG_TIN::m_nTriangles.
|
inline |
Definition at line 101 of file tin.h.
Referenced by CSG_TIN::_Triangulate(), Get_Gradient(), CSG_TIN_Triangle::Get_Gradient(), CSG_TIN_Triangle::Get_Value(), and SG_TIN_Compare().
|
inline |
Definition at line 102 of file tin.h.
Referenced by CSG_TIN::_Triangulate(), Get_Gradient(), CSG_TIN_Triangle::Get_Gradient(), CSG_TIN_Triangle::Get_Value(), and SG_TIN_Compare().