| 
    MRPT
    1.9.9
    
   | 
 
A result-set class used when performing a radius based search.
Definition at line 144 of file nanoflann.hpp.
#include <nanoflann.hpp>
Public Member Functions | |
| RadiusResultSet (DistanceType radius_, std::vector< std::pair< IndexType, DistanceType > > &indices_dists) | |
| ~RadiusResultSet ()=default | |
| 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.  More... | |
| std::pair< IndexType, DistanceType > | worst_item () const | 
| Find the worst result (furtherest neighbor) without copying or sorting Pre-conditions: size() > 0.  More... | |
Public Attributes | |
| const DistanceType | radius | 
| std::vector< std::pair< IndexType, DistanceType > > & | m_indices_dists | 
      
  | 
  inline | 
Definition at line 151 of file nanoflann.hpp.
References nanoflann::KNNResultSet< DistanceType, IndexType, CountType >::init().
      
  | 
  inlinedefault | 
      
  | 
  inline | 
Definition at line 165 of file nanoflann.hpp.
      
  | 
  inline | 
Definition at line 159 of file nanoflann.hpp.
      
  | 
  inline | 
Definition at line 163 of file nanoflann.hpp.
      
  | 
  inline | 
Definition at line 158 of file nanoflann.hpp.
References mrpt::containers::clear().
      
  | 
  inline | 
Clears the result set and adjusts the search radius.
Definition at line 174 of file nanoflann.hpp.
References mrpt::containers::clear().
      
  | 
  inline | 
Definition at line 161 of file nanoflann.hpp.
      
  | 
  inline | 
Find the worst result (furtherest neighbor) without copying or sorting Pre-conditions: size() > 0.
Definition at line 184 of file nanoflann.hpp.
      
  | 
  inline | 
Definition at line 171 of file nanoflann.hpp.
| std::vector<std::pair<IndexType,DistanceType> >& nanoflann::RadiusResultSet< DistanceType, IndexType >::m_indices_dists | 
Definition at line 149 of file nanoflann.hpp.
| const DistanceType nanoflann::RadiusResultSet< DistanceType, IndexType >::radius | 
Definition at line 147 of file nanoflann.hpp.
| Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 8fe78517f Sun Jul 14 19:43:28 2019 +0200 at lun oct 28 02:10:00 CET 2019 |