OpenGP  1.1
Open Geometry Processing Library
Public Member Functions | List of all members
nanoflann::RadiusResultSet< DistanceType, IndexType > Class Template Reference

#include <nanoflann.hpp>

Public Member Functions

void set_radius_and_clear (const DistanceType r)
 
std::pair< IndexType, DistanceType > worst_item () const
 

Detailed Description

template<typename DistanceType, typename IndexType = size_t>
class nanoflann::RadiusResultSet< DistanceType, IndexType >

A result-set class used when performing a radius based search.

Member Function Documentation

template<typename DistanceType, typename IndexType = size_t>
void nanoflann::RadiusResultSet< DistanceType, IndexType >::set_radius_and_clear ( const DistanceType  r)
inline

Clears the result set and adjusts the search radius.

template<typename DistanceType, typename IndexType = size_t>
std::pair<IndexType,DistanceType> nanoflann::RadiusResultSet< DistanceType, IndexType >::worst_item ( ) const
inline

Find the worst result (furtherest neighbor) without copying or sorting Pre-conditions: size() > 0


The documentation for this class was generated from the following file: