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 94 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 102 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 125 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 119 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 106 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 114 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 148 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 98 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 99 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 97 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 96 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 Wed Mar 2 2022 00:37:28