![]() |
SAGA API
v9.7
|
#include <shapes.h>
Public Member Functions | |
CSG_KDTree (void) | |
virtual | ~CSG_KDTree (void) |
virtual bool | Destroy (void) |
bool | is_Okay (void) const |
size_t | Get_Match_Count (void) const |
size_t | Get_Match_Index (size_t i) const |
double | Get_Match_Distance (size_t i) const |
CSG_Shape * | Get_Match_Shape (size_t i) const |
int | Get_Point_Count (void) const |
double * | Get_Point (int i) const |
double * | Get_Point (size_t i) const |
double * | operator[] (int i) const |
double * | operator[] (size_t i) const |
virtual double | Get_Point_Value (int i) const |
virtual double | Get_Point_Value (size_t i) const =0 |
Static Public Member Functions | |
static const char * | Get_Version (void) |
Protected Member Functions | |
void | _On_Construction (void) |
Protected Attributes | |
class CSG_KDTree_Adaptor * | m_pAdaptor |
void * | m_pKDTree |
CSG_Array_sLong | m_Indices |
CSG_Vector | m_Distances |
CSG_Matrix | m_Points |
CSG_KDTree::CSG_KDTree | ( | void | ) |
Definition at line 250 of file kdtree.cpp.
References _On_Construction().
|
virtual |
Definition at line 256 of file kdtree.cpp.
|
protected |
Definition at line 260 of file kdtree.cpp.
References m_pAdaptor, and m_pKDTree.
Referenced by CSG_KDTree(), CSG_KDTree_2D::CSG_KDTree_2D(), and CSG_KDTree_3D::CSG_KDTree_3D().
|
virtual |
Reimplemented in CSG_KDTree_3D, and CSG_KDTree_2D.
Definition at line 279 of file kdtree.cpp.
References CSG_Array_sLong::Destroy(), CSG_Vector::Destroy(), CSG_Matrix::Destroy(), m_Distances, m_Indices, m_pAdaptor, m_Points, and SG_DELETE_SAFE.
Referenced by CSG_KDTree_2D::Destroy(), and CSG_KDTree_3D::Destroy().
|
inline |
Definition at line 1225 of file shapes.h.
Referenced by Get_Match_Shape(), and CSG_Parameters_Point_Search_KDTree_2D::Get_Point().
|
inline |
|
inline |
Definition at line 1226 of file shapes.h.
Referenced by Get_Match_Shape().
CSG_Shape * CSG_KDTree::Get_Match_Shape | ( | size_t | i | ) | const |
Definition at line 291 of file kdtree.cpp.
References Get_Match_Count(), Get_Match_Index(), CSG_Shapes::Get_Shape(), and m_pAdaptor.
Referenced by CSG_Parameters_Point_Search_KDTree_2D::Get_Point(), and CSG_Parameters_Point_Search_KDTree_2D::Get_Points().
|
inline |
Definition at line 1231 of file shapes.h.
Referenced by CSG_Parameters_Point_Search_KDTree_2D::Get_Point(), and CSG_Parameters_Point_Search_KDTree_2D::Get_Points().
|
inlinevirtual |
Definition at line 1235 of file shapes.h.
References Get_Point_Value().
Referenced by Get_Point_Value().
|
pure virtual |
Implemented in CSG_KDTree_3D, and CSG_KDTree_2D.
|
static |
Definition at line 267 of file kdtree.cpp.
References CSG_String::Format().
|
protected |
Definition at line 1247 of file shapes.h.
Referenced by Destroy(), CSG_KDTree_2D::Get_Duplicates(), CSG_KDTree_3D::Get_Duplicates(), CSG_KDTree_2D::Get_Nearest_Points(), and CSG_KDTree_3D::Get_Nearest_Points().
|
protected |
Definition at line 1245 of file shapes.h.
Referenced by Destroy(), CSG_KDTree_2D::Get_Duplicates(), CSG_KDTree_3D::Get_Duplicates(), CSG_KDTree_2D::Get_Nearest_Points(), and CSG_KDTree_3D::Get_Nearest_Points().
|
protected |
Definition at line 1241 of file shapes.h.
Referenced by _On_Construction(), CSG_KDTree_2D::Create(), CSG_KDTree_3D::Create(), Destroy(), Get_Match_Shape(), CSG_KDTree_2D::Get_Nearest_Shape(), and CSG_KDTree_3D::Get_Nearest_Shape().
|
protected |
Definition at line 1243 of file shapes.h.
Referenced by _On_Construction(), CSG_KDTree_2D::Create(), CSG_KDTree_3D::Create(), CSG_KDTree_2D::Destroy(), CSG_KDTree_3D::Destroy(), CSG_KDTree_2D::Get_Duplicates(), CSG_KDTree_3D::Get_Duplicates(), CSG_KDTree_2D::Get_Nearest_Points(), and CSG_KDTree_3D::Get_Nearest_Points().
|
protected |
Definition at line 1249 of file shapes.h.
Referenced by CSG_KDTree_2D::Create(), CSG_KDTree_3D::Create(), Destroy(), CSG_KDTree_2D::Get_Nearest_Value(), and CSG_KDTree_3D::Get_Nearest_Value().