MRPT  1.9.9
nanoflann::KNNResultSet< DistanceType, IndexType, CountType > Class Template Reference

Detailed Description

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

Definition at line 78 of file nanoflann.hpp.

#include <nanoflann.hpp>

Public Member Functions

 KNNResultSet (CountType capacity_)
 
void init (IndexType *indices_, DistanceType *dists_)
 
CountType size () const
 
bool full () const
 
void addPoint (DistanceType dist, IndexType index)
 
DistanceType worstDist () const
 

Private Attributes

IndexType * indices
 
DistanceType * dists
 
CountType capacity
 
CountType count
 

Constructor & Destructor Documentation

◆ KNNResultSet()

template<typename DistanceType, typename IndexType = size_t, typename CountType = size_t>
nanoflann::KNNResultSet< DistanceType, IndexType, CountType >::KNNResultSet ( CountType  capacity_)
inline

Definition at line 86 of file nanoflann.hpp.

Member Function Documentation

◆ addPoint()

template<typename DistanceType, typename IndexType = size_t, typename CountType = size_t>
void nanoflann::KNNResultSet< DistanceType, IndexType, CountType >::addPoint ( DistanceType  dist,
IndexType  index 
)
inline

◆ full()

template<typename DistanceType, typename IndexType = size_t, typename CountType = size_t>
bool nanoflann::KNNResultSet< DistanceType, IndexType, CountType >::full ( ) const
inline

◆ init()

◆ size()

◆ worstDist()

template<typename DistanceType, typename IndexType = size_t, typename CountType = size_t>
DistanceType nanoflann::KNNResultSet< DistanceType, IndexType, CountType >::worstDist ( ) const
inline

Member Data Documentation

◆ capacity

◆ count

template<typename DistanceType, typename IndexType = size_t, typename CountType = size_t>
CountType nanoflann::KNNResultSet< DistanceType, IndexType, CountType >::count
private

◆ dists

◆ indices

template<typename DistanceType, typename IndexType = size_t, typename CountType = size_t>
IndexType* nanoflann::KNNResultSet< DistanceType, IndexType, CountType >::indices
private

Definition at line 80 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