Template Class RKNNResultSet
Defined in File nanoflann.hpp
Class Documentation
-
template<typename _DistanceType, typename _IndexType = size_t, typename _CountType = size_t>
class RKNNResultSet Result set for RKNN searches (N-closest neighbors with a maximum radius)
Public Types
-
using DistanceType = _DistanceType
-
using IndexType = _IndexType
-
using CountType = _CountType
Public Functions
-
inline explicit RKNNResultSet(CountType capacity_, DistanceType maximumSearchDistanceSquared_)
-
inline void init(IndexType *indices_, DistanceType *dists_)
-
inline bool empty() const
-
inline bool full() const
-
inline bool addPoint(DistanceType dist, IndexType index)
Called during search to add an element matching the criteria.
- Returns:
true if the search should be continued, false if the results are sufficient
-
inline DistanceType worstDist() const
-
using DistanceType = _DistanceType