DataTransferKit - Multiphysics Solution Transfer Services  2.0
Public Member Functions | List of all members
DataTransferKit::nanoflann::RadiusResultSet< DistanceType, IndexType > Class Template Reference

#include <DTK_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 DataTransferKit::nanoflann::RadiusResultSet< DistanceType, IndexType >

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

Definition at line 138 of file DTK_nanoflann.hpp.

Member Function Documentation

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

Clears the result set and adjusts the search radius.

Definition at line 172 of file DTK_nanoflann.hpp.

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

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

Definition at line 182 of file DTK_nanoflann.hpp.


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