![]() |
nanoflann
C++ header-only ANN library
|
#include <nanoflann.hpp>
Public Types | |
| using | IndexType = _IndexType |
Public Member Functions | |
| BoxResultSet (std::vector< IndexType > &indices) | |
| NANOFLANN_NODISCARD size_t | size () const noexcept |
| NANOFLANN_NODISCARD bool | empty () const noexcept |
| NANOFLANN_NODISCARD bool | full () const noexcept |
| template<typename DistanceType> | |
| bool | addPoint (DistanceType, IndexType index) |
| void | sort () |
Public Attributes | |
| std::vector< IndexType > & | m_indices |
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.
|
inline |
Called for each point found inside the query box. The distance argument is unused (always 0 for a box query).