![]() |
OpenLB 1.7
|
A result-set class used when performing a radius based search. More...
#include <nanoflann.hpp>
Public Member Functions | |
RadiusResultSet (DistanceType radius_, std::vector< std::pair< IndexType, DistanceType > > &indices_dists) | |
~RadiusResultSet () | |
void | init () |
void | clear () |
size_t | size () const |
bool | full () const |
void | addPoint (DistanceType dist, IndexType index) |
DistanceType | worstDist () const |
void | set_radius_and_clear (const DistanceType r) |
Clears the result set and adjusts the search radius. | |
std::pair< IndexType, DistanceType > | worst_item () const |
Find the worst result (furtherest neighbor) without copying or sorting Pre-conditions: size() > 0. | |
Public Attributes | |
const DistanceType | radius |
std::vector< std::pair< IndexType, DistanceType > > & | m_indices_dists |
A result-set class used when performing a radius based search.
Definition at line 125 of file nanoflann.hpp.
|
inline |
Definition at line 131 of file nanoflann.hpp.
|
inline |
Definition at line 139 of file nanoflann.hpp.
|
inline |
Definition at line 157 of file nanoflann.hpp.
|
inline |
Definition at line 145 of file nanoflann.hpp.
|
inline |
Definition at line 153 of file nanoflann.hpp.
|
inline |
Definition at line 142 of file nanoflann.hpp.
|
inline |
Clears the result set and adjusts the search radius.
Definition at line 167 of file nanoflann.hpp.
|
inline |
|
inline |
Find the worst result (furtherest neighbor) without copying or sorting Pre-conditions: size() > 0.
Definition at line 176 of file nanoflann.hpp.
|
inline |
Definition at line 162 of file nanoflann.hpp.
std::vector<std::pair<IndexType, DistanceType> >& nanoflann::RadiusResultSet< DistanceType, IndexType >::m_indices_dists |
Definition at line 129 of file nanoflann.hpp.
const DistanceType nanoflann::RadiusResultSet< DistanceType, IndexType >::radius |
Definition at line 127 of file nanoflann.hpp.