SAGA API
v9.5
|
#include <shapes.h>
Public Member Functions | |
CSG_Parameters_Point_Search_KDTree_2D (void) | |
virtual | ~CSG_Parameters_Point_Search_KDTree_2D (void) |
bool | Initialize (CSG_Shapes *pPoints, int zField=-1) |
bool | Finalize (void) |
sLong | Set_Location (double x, double y) |
sLong | Set_Location (const CSG_Point &p) |
sLong | Get_Count (void) const |
bool | Get_Point (sLong Index, double &x, double &y, double &z) |
bool | Get_Points (double x, double y, CSG_Points_3D &Points) |
bool | Get_Points (const CSG_Point &p, CSG_Points_3D &Points) |
bool | Get_Points (double x, double y, CSG_Array_sLong &Indices) |
bool | Get_Points (const CSG_Point &p, CSG_Array_sLong &Indices) |
bool | Get_Points (double x, double y, CSG_Array_sLong &Indices, CSG_Vector &Distances) |
bool | Get_Points (const CSG_Point &p, CSG_Array_sLong &Indices, CSG_Vector &Distances) |
Public Member Functions inherited from CSG_Parameters_Point_Search | |
CSG_Parameters_Point_Search (void) | |
virtual | ~CSG_Parameters_Point_Search (void) |
virtual bool | Create (class CSG_Parameters *pParameters, const CSG_String &Parent="", size_t minPoints=0) |
virtual bool | On_Parameter_Changed (class CSG_Parameters *pParameters, class CSG_Parameter *pParameter) |
virtual bool | On_Parameters_Enable (class CSG_Parameters *pParameters, class CSG_Parameter *pParameter) |
bool | Do_Use_All (void) const |
bool | Do_Use_All (bool bUpdate) |
size_t | Get_Min_Points (void) const |
size_t | Get_Max_Points (void) const |
double | Get_Radius (void) const |
Additional Inherited Members | |
Protected Member Functions inherited from CSG_Parameters_Point_Search | |
bool | Update (void) |
Protected Attributes inherited from CSG_Parameters_Point_Search | |
size_t | m_minPoints |
size_t | m_maxPoints |
double | m_Radius |
class CSG_Parameters * | m_pParameters |
CSG_Parameters_Point_Search_KDTree_2D::CSG_Parameters_Point_Search_KDTree_2D | ( | void | ) |
Definition at line 1235 of file kdtree.cpp.
References Finalize().
|
inlinevirtual |
bool CSG_Parameters_Point_Search_KDTree_2D::Finalize | ( | void | ) |
Definition at line 1265 of file kdtree.cpp.
References CSG_KDTree_2D::Destroy().
Referenced by CSG_Parameters_Point_Search_KDTree_2D(), and Initialize().
|
inline |
bool CSG_Parameters_Point_Search_KDTree_2D::Get_Point | ( | sLong | Index, |
double & | x, | ||
double & | y, | ||
double & | z | ||
) |
Definition at line 1305 of file kdtree.cpp.
References CSG_Table_Record::asDouble(), CSG_KDTree::Get_Match_Count(), CSG_KDTree::Get_Match_Shape(), CSG_KDTree::Get_Point(), CSG_Shape::Get_Point(), CSG_PointCloud::Get_Shape(), CSG_Table_Record::is_NoData(), SSG_Point::x, and SSG_Point::y.
bool CSG_Parameters_Point_Search_KDTree_2D::Get_Points | ( | const CSG_Point & | p, |
CSG_Array_sLong & | Indices | ||
) |
Definition at line 1417 of file kdtree.cpp.
References Get_Points(), SSG_Point::x, and SSG_Point::y.
bool CSG_Parameters_Point_Search_KDTree_2D::Get_Points | ( | const CSG_Point & | p, |
CSG_Array_sLong & | Indices, | ||
CSG_Vector & | Distances | ||
) |
Definition at line 1436 of file kdtree.cpp.
References Get_Points(), SSG_Point::x, and SSG_Point::y.
bool CSG_Parameters_Point_Search_KDTree_2D::Get_Points | ( | const CSG_Point & | p, |
CSG_Points_3D & | Points | ||
) |
Definition at line 1391 of file kdtree.cpp.
References Get_Points(), SSG_Point::x, and SSG_Point::y.
bool CSG_Parameters_Point_Search_KDTree_2D::Get_Points | ( | double | x, |
double | y, | ||
CSG_Array_sLong & | Indices | ||
) |
Definition at line 1402 of file kdtree.cpp.
References CSG_Table::Get_Count(), CSG_KDTree_2D::Get_Nearest_Points(), CSG_Parameters_Point_Search::m_maxPoints, CSG_Parameters_Point_Search::m_minPoints, and CSG_Parameters_Point_Search::m_Radius.
bool CSG_Parameters_Point_Search_KDTree_2D::Get_Points | ( | double | x, |
double | y, | ||
CSG_Array_sLong & | Indices, | ||
CSG_Vector & | Distances | ||
) |
Definition at line 1423 of file kdtree.cpp.
References CSG_Table::Get_Count(), CSG_KDTree_2D::Get_Nearest_Points(), CSG_Parameters_Point_Search::m_maxPoints, CSG_Parameters_Point_Search::m_minPoints, and CSG_Parameters_Point_Search::m_Radius.
bool CSG_Parameters_Point_Search_KDTree_2D::Get_Points | ( | double | x, |
double | y, | ||
CSG_Points_3D & | Points | ||
) |
Definition at line 1359 of file kdtree.cpp.
References CSG_Points_3D::Add(), CSG_Points_3D::Clear(), CSG_KDTree::Get_Match_Shape(), CSG_KDTree::Get_Point(), CSG_Shape::Get_Point(), CSG_Array_sLong::Get_Size(), SSG_Point::x, and SSG_Point::y.
Referenced by Get_Points().
bool CSG_Parameters_Point_Search_KDTree_2D::Initialize | ( | CSG_Shapes * | pPoints, |
int | zField = -1 |
||
) |
Definition at line 1246 of file kdtree.cpp.
References CSG_KDTree_2D::Create(), CSG_Parameters_Point_Search::Do_Use_All(), Finalize(), CSG_Table::Get_Count(), CSG_Parameters_Point_Search::m_pParameters, and CSG_Parameters_Point_Search::Update().
Definition at line 1294 of file kdtree.cpp.
References Set_Location(), SSG_Point::x, and SSG_Point::y.
sLong CSG_Parameters_Point_Search_KDTree_2D::Set_Location | ( | double | x, |
double | y | ||
) |
Definition at line 1281 of file kdtree.cpp.
References CSG_Table::Get_Count(), CSG_KDTree_2D::Get_Nearest_Points(), CSG_Parameters_Point_Search::m_maxPoints, and CSG_Parameters_Point_Search::m_Radius.
Referenced by Set_Location().