Public Member Functions | Private Attributes | List of all members
nanoflann::KNNResultSet< DistanceType, IndexType, CountType > Class Template Reference

#include <nanoflann.hpp>

Public Member Functions

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

Private Attributes

CountType capacity
 
CountType count
 
DistanceType * dists
 
IndexType * indices
 

Detailed Description

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

Definition at line 64 of file nanoflann.hpp.

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 72 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

Definition at line 95 of file nanoflann.hpp.

◆ full()

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

Definition at line 89 of file nanoflann.hpp.

◆ init()

template<typename DistanceType, typename IndexType = size_t, typename CountType = size_t>
void nanoflann::KNNResultSet< DistanceType, IndexType, CountType >::init ( IndexType *  indices_,
DistanceType *  dists_ 
)
inline

Definition at line 76 of file nanoflann.hpp.

◆ size()

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

Definition at line 84 of file nanoflann.hpp.

◆ worstDist()

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

Definition at line 118 of file nanoflann.hpp.

Member Data Documentation

◆ capacity

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

Definition at line 68 of file nanoflann.hpp.

◆ count

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

Definition at line 69 of file nanoflann.hpp.

◆ dists

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

Definition at line 67 of file nanoflann.hpp.

◆ indices

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

Definition at line 66 of file nanoflann.hpp.


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


lvr2
Author(s): Thomas Wiemann , Sebastian Pütz , Alexander Mock , Lars Kiesow , Lukas Kalbertodt , Tristan Igelbrink , Johan M. von Behren , Dominik Feldschnieders , Alexander Löhr
autogenerated on Mon Feb 28 2022 22:46:12