40 SearchType search_type_;
KDTree search parameters for hybrid KNN and radius search.
int max_nn_
At maximum, max_nn neighbors will be searched.
KDTreeSearchParamHybrid(double radius, int max_nn)
Default Cosntructor.
double radius_
Search radius.
KDTree search parameters for pure KNN search.
KDTreeSearchParamKNN(int knn=30)
Default Cosntructor.
int knn_
Number of the neighbors that will be searched.
KDTree search parameters for pure radius search.
double radius_
Search radius.
KDTreeSearchParamRadius(double radius)
Default Cosntructor.
Base class for KDTree search parameters.
virtual ~KDTreeSearchParam()
SearchType
Specifies the search type for the search.
KDTreeSearchParam(SearchType type)
SearchType GetSearchType() const
Get the search type (KNN, Radius, Hybrid) for the search parameter.
Generic file read and write utility for python interface.