SAGA API v9.10
Loading...
Searching...
No Matches
CSG_Lines Class Reference

#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_Linesoperator= (const CSG_Lines &Lines)
bool Assign (const CSG_Lines &Lines)
CSG_PointsAdd (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_PointsGet_Line (sLong Index)
const CSG_PointsGet_Line (sLong Index) const
CSG_Pointsoperator[] (sLong Index)
const CSG_Pointsoperator[] (sLong Index) const
double Get_Length (void) const
double Get_Length (sLong Index) const

Detailed Description

Definition at line 216 of file geo_tools.h.

Constructor & Destructor Documentation

◆ CSG_Lines() [1/3]

CSG_Lines::CSG_Lines ( void )

Definition at line 373 of file geo_classes.cpp.

References SG_ARRAY_GROWTH_0.

Referenced by Add(), Assign(), Create(), CSG_Lines(), and operator=().

◆ ~CSG_Lines()

CSG_Lines::~CSG_Lines ( void )
virtual

Definition at line 403 of file geo_classes.cpp.

References Destroy().

◆ CSG_Lines() [2/3]

CSG_Lines::CSG_Lines ( const CSG_Lines & Lines)

Definition at line 378 of file geo_classes.cpp.

References Create(), CSG_Lines(), and SG_ARRAY_GROWTH_0.

◆ CSG_Lines() [3/3]

CSG_Lines::CSG_Lines ( sLong nLines)

Definition at line 390 of file geo_classes.cpp.

References Create(), and SG_ARRAY_GROWTH_0.

Member Function Documentation

◆ Add() [1/3]

bool CSG_Lines::Add ( const CSG_Lines & Lines)

Definition at line 453 of file geo_classes.cpp.

References Add(), CSG_Lines(), and Get_Count().

◆ Add() [2/3]

bool CSG_Lines::Add ( const CSG_Points & Line)

Definition at line 445 of file geo_classes.cpp.

References Add(), and CSG_Points::Assign().

◆ Add() [3/3]

CSG_Points & CSG_Lines::Add ( void )

◆ Assign()

bool CSG_Lines::Assign ( const CSG_Lines & Lines)

Definition at line 421 of file geo_classes.cpp.

References CSG_Points::Assign(), CSG_Lines(), Get_Count(), Get_Line(), and Set_Count().

Referenced by Create(), and operator=().

◆ Clear()

bool CSG_Lines::Clear ( void )

Definition at line 415 of file geo_classes.cpp.

References Set_Count().

◆ Create() [1/2]

bool CSG_Lines::Create ( const CSG_Lines & Lines)

Definition at line 385 of file geo_classes.cpp.

References Assign(), and CSG_Lines().

Referenced by CSG_Lines(), and CSG_Lines().

◆ Create() [2/2]

bool CSG_Lines::Create ( sLong nLines)

Definition at line 397 of file geo_classes.cpp.

References Set_Count().

◆ Del()

bool CSG_Lines::Del ( sLong Index)

Definition at line 464 of file geo_classes.cpp.

◆ Destroy()

bool CSG_Lines::Destroy ( void )

Definition at line 409 of file geo_classes.cpp.

References Set_Count().

Referenced by ~CSG_Lines().

◆ Get_Count()

sLong CSG_Lines::Get_Count ( void ) const
inline

◆ Get_Length() [1/2]

double CSG_Lines::Get_Length ( sLong Index) const

Definition at line 520 of file geo_classes.cpp.

References Get_Count(), CSG_Points::Get_Count(), Get_Line(), and SG_Get_Distance().

◆ Get_Length() [2/2]

double CSG_Lines::Get_Length ( void ) const

◆ Get_Line() [1/2]

CSG_Points & CSG_Lines::Get_Line ( sLong Index)
inline

Definition at line 242 of file geo_tools.h.

Referenced by Add(), Assign(), Get_Length(), operator[](), and operator[]().

◆ Get_Line() [2/2]

const CSG_Points & CSG_Lines::Get_Line ( sLong Index) const
inline

Definition at line 243 of file geo_tools.h.

◆ operator=()

CSG_Lines & CSG_Lines::operator= ( const CSG_Lines & Lines)
inline

Definition at line 231 of file geo_tools.h.

References Assign(), and CSG_Lines().

◆ operator[]() [1/2]

CSG_Points & CSG_Lines::operator[] ( sLong Index)
inline

Definition at line 245 of file geo_tools.h.

References Get_Line().

◆ operator[]() [2/2]

const CSG_Points & CSG_Lines::operator[] ( sLong Index) const
inline

Definition at line 246 of file geo_tools.h.

References Get_Line().

◆ Set_Count()

bool CSG_Lines::Set_Count ( sLong nLines)

Definition at line 477 of file geo_classes.cpp.

Referenced by Add(), Assign(), Clear(), Create(), and Destroy().


The documentation for this class was generated from the following files: