Template Class BoxResultSet
Defined in File nanoflann.hpp
Class Documentation
-
template<typename _IndexType = size_t>
class BoxResultSet A result-set class used when collecting all points contained within an axis-aligned bounding box (see findWithinBox()). Distances are not used; matching point indices are appended to the user-provided vector.
Public Types
-
using IndexType = _IndexType
Public Functions
- inline NANOFLANN_NODISCARD size_t size () const noexcept
- inline NANOFLANN_NODISCARD bool empty () const noexcept
- inline NANOFLANN_NODISCARD bool full () const noexcept
-
template<typename DistanceType>
inline bool addPoint(DistanceType, IndexType index) Called for each point found inside the query box. The distance argument is unused (always 0 for a box query).
- Returns:
always true (keep going).
-
inline void sort()
-
using IndexType = _IndexType