SAGA API
v9.6
|
#include <geo_tools.h>
Public Member Functions | |
CSG_Lines (void) | |
virtual | ~CSG_Lines (void) |
CSG_Lines (const CSG_Lines &Lines) | |
bool | Create (const CSG_Lines &Lines) |
CSG_Lines (sLong nLines) | |
bool | Create (sLong nLines) |
bool | Destroy (void) |
bool | Clear (void) |
CSG_Lines & | operator= (const CSG_Lines &Lines) |
bool | Assign (const CSG_Lines &Lines) |
CSG_Points & | Add (void) |
bool | Add (const CSG_Points &Line) |
bool | Add (const CSG_Lines &Lines) |
bool | Del (sLong Index) |
bool | Set_Count (sLong nLines) |
sLong | Get_Count (void) const |
CSG_Points & | Get_Line (sLong Index) |
const CSG_Points & | Get_Line (sLong Index) const |
CSG_Points & | operator[] (sLong Index) |
const CSG_Points & | operator[] (sLong Index) const |
double | Get_Length (void) const |
double | Get_Length (sLong Index) const |
Definition at line 215 of file geo_tools.h.
CSG_Lines::CSG_Lines | ( | void | ) |
Definition at line 373 of file geo_classes.cpp.
References CSG_Array_Pointer::Create().
|
virtual |
Definition at line 403 of file geo_classes.cpp.
References Destroy().
CSG_Lines::CSG_Lines | ( | const CSG_Lines & | Lines | ) |
Definition at line 378 of file geo_classes.cpp.
References CSG_Array_Pointer::Create(), and Create().
CSG_Lines::CSG_Lines | ( | sLong | nLines | ) |
Definition at line 390 of file geo_classes.cpp.
References CSG_Array_Pointer::Create(), and Create().
bool CSG_Lines::Add | ( | const CSG_Lines & | Lines | ) |
Definition at line 453 of file geo_classes.cpp.
References Add(), and Get_Count().
bool CSG_Lines::Add | ( | const CSG_Points & | Line | ) |
Definition at line 445 of file geo_classes.cpp.
References Add(), and CSG_Points::Assign().
CSG_Points & CSG_Lines::Add | ( | void | ) |
Definition at line 437 of file geo_classes.cpp.
References Get_Count(), Get_Line(), and Set_Count().
Referenced by Add(), CSG_Shape_Polygon::Get_Shared_Edges(), and CSG_Shape_Polygon_Part::Get_Shared_Edges().
bool CSG_Lines::Assign | ( | const CSG_Lines & | Lines | ) |
Definition at line 421 of file geo_classes.cpp.
References CSG_Points::Assign(), Get_Count(), Get_Line(), and Set_Count().
Referenced by Create().
bool CSG_Lines::Clear | ( | void | ) |
Definition at line 415 of file geo_classes.cpp.
References Set_Count().
bool CSG_Lines::Create | ( | const CSG_Lines & | Lines | ) |
bool CSG_Lines::Create | ( | sLong | nLines | ) |
Definition at line 397 of file geo_classes.cpp.
References Set_Count().
bool CSG_Lines::Del | ( | sLong | Index | ) |
Definition at line 464 of file geo_classes.cpp.
References CSG_Array_Pointer::Del(), and CSG_Array_Pointer::Get_Size().
bool CSG_Lines::Destroy | ( | void | ) |
|
inline |
Definition at line 239 of file geo_tools.h.
Referenced by Add(), Assign(), Get_Length(), and CSG_Shape_Polygon_Part::Get_Shared_Edges().
double CSG_Lines::Get_Length | ( | sLong | Index | ) | const |
Definition at line 520 of file geo_classes.cpp.
References CSG_Points::Get_Count(), Get_Count(), Get_Line(), and SG_Get_Distance().
double CSG_Lines::Get_Length | ( | void | ) | const |
Definition at line 508 of file geo_classes.cpp.
References Get_Count().
Referenced by CSG_Shape_Polygon::Get_Shared_Length(), and CSG_Shape_Polygon_Part::Get_Shared_Length().
|
inline |
Definition at line 241 of file geo_tools.h.
Referenced by Add(), Assign(), and Get_Length().
|
inline |
Definition at line 242 of file geo_tools.h.
Definition at line 230 of file geo_tools.h.
|
inline |
Definition at line 244 of file geo_tools.h.
|
inline |
Definition at line 245 of file geo_tools.h.
bool CSG_Lines::Set_Count | ( | sLong | nLines | ) |
Definition at line 477 of file geo_classes.cpp.
References CSG_Array_Pointer::Get_Size(), and CSG_Array_Pointer::Set_Array().
Referenced by Add(), Assign(), Clear(), Create(), and Destroy().