SAGA API  v9.5
CSG_Parameters_Point_Search_KDTree_2D Class Reference

#include <shapes.h>

Inheritance diagram for CSG_Parameters_Point_Search_KDTree_2D:
CSG_Parameters_Point_Search

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)
 

Additional Inherited Members

Detailed Description

Definition at line 1398 of file shapes.h.

Constructor & Destructor Documentation

◆ CSG_Parameters_Point_Search_KDTree_2D()

CSG_Parameters_Point_Search_KDTree_2D::CSG_Parameters_Point_Search_KDTree_2D ( void  )

Definition at line 1235 of file kdtree.cpp.

References Finalize().

◆ ~CSG_Parameters_Point_Search_KDTree_2D()

virtual CSG_Parameters_Point_Search_KDTree_2D::~CSG_Parameters_Point_Search_KDTree_2D ( void  )
inlinevirtual

Definition at line 1402 of file shapes.h.

Member Function Documentation

◆ Finalize()

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().

◆ Get_Count()

sLong CSG_Parameters_Point_Search_KDTree_2D::Get_Count ( void  ) const
inline

Definition at line 1410 of file shapes.h.

◆ Get_Point()

bool CSG_Parameters_Point_Search_KDTree_2D::Get_Point ( sLong  Index,
double &  x,
double &  y,
double &  z 
)

◆ Get_Points() [1/6]

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.

◆ Get_Points() [2/6]

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.

◆ Get_Points() [3/6]

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.

◆ Get_Points() [4/6]

bool CSG_Parameters_Point_Search_KDTree_2D::Get_Points ( double  x,
double  y,
CSG_Array_sLong Indices 
)

◆ Get_Points() [5/6]

bool CSG_Parameters_Point_Search_KDTree_2D::Get_Points ( double  x,
double  y,
CSG_Array_sLong Indices,
CSG_Vector Distances 
)

◆ Get_Points() [6/6]

bool CSG_Parameters_Point_Search_KDTree_2D::Get_Points ( double  x,
double  y,
CSG_Points_3D Points 
)

◆ Initialize()

bool CSG_Parameters_Point_Search_KDTree_2D::Initialize ( CSG_Shapes pPoints,
int  zField = -1 
)

◆ Set_Location() [1/2]

sLong CSG_Parameters_Point_Search_KDTree_2D::Set_Location ( const CSG_Point p)

Definition at line 1294 of file kdtree.cpp.

References Set_Location(), SSG_Point::x, and SSG_Point::y.

◆ Set_Location() [2/2]

sLong CSG_Parameters_Point_Search_KDTree_2D::Set_Location ( double  x,
double  y 
)

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