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

#include <mat_tools.h>

Classes

class  CSG_Index_Compare

Public Member Functions

 CSG_Index (void)
virtual ~CSG_Index (void)
 CSG_Index (sLong nValues, CSG_Index_Compare &Compare)
bool Create (sLong nValues, CSG_Index_Compare &Compare)
 CSG_Index (sLong nValues, CSG_Index_Compare *pCompare)
bool Create (sLong nValues, CSG_Index_Compare *pCompare)
 CSG_Index (sLong nValues, int *Values, bool bAscending=true)
bool Create (sLong nValues, int *Values, bool bAscending=true)
 CSG_Index (sLong nValues, double *Values, bool bAscending=true)
bool Create (sLong nValues, double *Values, bool bAscending=true)
 CSG_Index (sLong nValues, TSG_PFNC_Compare fCompare)
bool Create (sLong nValues, TSG_PFNC_Compare fCompare)
bool Destroy (void)
bool Invert (void)
void Show_Progress (bool bProgress=true)
bool Add_Entry (sLong Position=-1)
bool Del_Entry (sLong Position=-1)
bool is_Okay (void) const
sLong Get_Count (void) const
sLong Get_Index (sLong Position, bool Ascending=true) const
sLong operator[] (sLong Position) const

Detailed Description

Definition at line 199 of file mat_tools.h.

Constructor & Destructor Documentation

◆ CSG_Index() [1/6]

CSG_Index::CSG_Index ( void )

Definition at line 63 of file mat_indexing.cpp.

◆ ~CSG_Index()

CSG_Index::~CSG_Index ( void )
virtual

Definition at line 77 of file mat_indexing.cpp.

References Destroy().

◆ CSG_Index() [2/6]

CSG_Index::CSG_Index ( sLong nValues,
CSG_Index_Compare & Compare )

Definition at line 123 of file mat_indexing.cpp.

References Create().

◆ CSG_Index() [3/6]

CSG_Index::CSG_Index ( sLong nValues,
CSG_Index_Compare * pCompare )

Definition at line 144 of file mat_indexing.cpp.

References Create().

◆ CSG_Index() [4/6]

CSG_Index::CSG_Index ( sLong nValues,
int * Values,
bool bAscending = true )

Definition at line 187 of file mat_indexing.cpp.

References Create().

◆ CSG_Index() [5/6]

CSG_Index::CSG_Index ( sLong nValues,
double * Values,
bool bAscending = true )

Definition at line 227 of file mat_indexing.cpp.

References Create().

◆ CSG_Index() [6/6]

CSG_Index::CSG_Index ( sLong nValues,
TSG_PFNC_Compare fCompare )

Definition at line 262 of file mat_indexing.cpp.

References Create().

Member Function Documentation

◆ Add_Entry()

bool CSG_Index::Add_Entry ( sLong Position = -1)

Definition at line 289 of file mat_indexing.cpp.

◆ Create() [1/5]

bool CSG_Index::Create ( sLong nValues,
CSG_Index_Compare & Compare )

◆ Create() [2/5]

bool CSG_Index::Create ( sLong nValues,
CSG_Index_Compare * pCompare )

Definition at line 152 of file mat_indexing.cpp.

References Destroy().

◆ Create() [3/5]

bool CSG_Index::Create ( sLong nValues,
double * Values,
bool bAscending = true )

Definition at line 235 of file mat_indexing.cpp.

References Create().

◆ Create() [4/5]

bool CSG_Index::Create ( sLong nValues,
int * Values,
bool bAscending = true )

Definition at line 195 of file mat_indexing.cpp.

References Create().

◆ Create() [5/5]

bool CSG_Index::Create ( sLong nValues,
TSG_PFNC_Compare fCompare )

Definition at line 270 of file mat_indexing.cpp.

References Create().

◆ Del_Entry()

bool CSG_Index::Del_Entry ( sLong Position = -1)

Definition at line 310 of file mat_indexing.cpp.

◆ Destroy()

bool CSG_Index::Destroy ( void )

Definition at line 83 of file mat_indexing.cpp.

References SG_Free().

Referenced by Create(), Create(), CSG_Table::Set_Index(), and ~CSG_Index().

◆ Get_Count()

sLong CSG_Index::Get_Count ( void ) const
inline

Definition at line 241 of file mat_tools.h.

Referenced by CSG_PointCloud::Sort(), and CSG_Table::Sort().

◆ Get_Index()

sLong CSG_Index::Get_Index ( sLong Position,
bool Ascending = true ) const
inline

Definition at line 243 of file mat_tools.h.

◆ Invert()

bool CSG_Index::Invert ( void )

Definition at line 102 of file mat_indexing.cpp.

◆ is_Okay()

bool CSG_Index::is_Okay ( void ) const
inline

Definition at line 240 of file mat_tools.h.

◆ operator[]()

sLong CSG_Index::operator[] ( sLong Position) const
inline

Definition at line 248 of file mat_tools.h.

◆ Show_Progress()

void CSG_Index::Show_Progress ( bool bProgress = true)

Definition at line 283 of file mat_indexing.cpp.


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