#include <nanoflann.hpp>
Public Types | |
typedef _DistanceType | DistanceType |
typedef _IndexType | IndexType |
Public Member Functions | |
bool | addPoint (DistanceType dist, IndexType index) |
void | clear () |
bool | full () const |
void | init () |
RadiusResultSet (DistanceType radius_, std::vector< std::pair< IndexType, DistanceType >> &indices_dists) | |
size_t | size () const |
std::pair< IndexType, DistanceType > | worst_item () const |
DistanceType | worstDist () const |
Public Attributes | |
std::vector< std::pair< IndexType, DistanceType > > & | m_indices_dists |
const DistanceType | radius |
A result-set class used when performing a radius based search.
Definition at line 220 of file nanoflann.hpp.
typedef _DistanceType nanoflann::RadiusResultSet< _DistanceType, _IndexType >::DistanceType |
Definition at line 222 of file nanoflann.hpp.
typedef _IndexType nanoflann::RadiusResultSet< _DistanceType, _IndexType >::IndexType |
Definition at line 223 of file nanoflann.hpp.
|
inline |
Definition at line 230 of file nanoflann.hpp.
|
inline |
Called during search to add an element matching the criteria.
Definition at line 249 of file nanoflann.hpp.
|
inline |
Definition at line 238 of file nanoflann.hpp.
|
inline |
Definition at line 242 of file nanoflann.hpp.
|
inline |
Definition at line 237 of file nanoflann.hpp.
|
inline |
Definition at line 240 of file nanoflann.hpp.
|
inline |
Find the worst result (furtherest neighbor) without copying or sorting Pre-conditions: size() > 0
Definition at line 261 of file nanoflann.hpp.
|
inline |
Definition at line 255 of file nanoflann.hpp.
std::vector<std::pair<IndexType, DistanceType> >& nanoflann::RadiusResultSet< _DistanceType, _IndexType >::m_indices_dists |
Definition at line 228 of file nanoflann.hpp.
const DistanceType nanoflann::RadiusResultSet< _DistanceType, _IndexType >::radius |
Definition at line 226 of file nanoflann.hpp.