Main MRPT website > C++ reference for MRPT 1.4.0
List of all members | Public Member Functions | Public Attributes
nanoflann::KDTreeSingleIndexAdaptor< Distance, DatasetAdaptor, DIM, IndexType >::BranchStruct< T, DistanceType > Struct Template Reference

Detailed Description

template<typename Distance, class DatasetAdaptor, int DIM = -1, typename IndexType = size_t>
template<typename T, typename DistanceType>
struct nanoflann::KDTreeSingleIndexAdaptor< Distance, DatasetAdaptor, DIM, IndexType >::BranchStruct< T, DistanceType >

This record represents a branch point when finding neighbors in the tree.

It contains a record of the minimum distance to the query point, as well as the node at which the search resumes.

Definition at line 811 of file nanoflann.hpp.

#include <mrpt/otherlibs/nanoflann/nanoflann.hpp>

Public Member Functions

 BranchStruct ()
 
 BranchStruct (const T &aNode, DistanceType dist)
 
bool operator< (const BranchStruct< T, DistanceType > &rhs) const
 

Public Attributes

node
 
DistanceType mindist
 

Constructor & Destructor Documentation

◆ BranchStruct() [1/2]

template<typename Distance , class DatasetAdaptor , int DIM = -1, typename IndexType = size_t>
template<typename T , typename DistanceType >
nanoflann::KDTreeSingleIndexAdaptor< Distance, DatasetAdaptor, DIM, IndexType >::BranchStruct< T, DistanceType >::BranchStruct ( )
inline

Definition at line 816 of file nanoflann.hpp.

◆ BranchStruct() [2/2]

template<typename Distance , class DatasetAdaptor , int DIM = -1, typename IndexType = size_t>
template<typename T , typename DistanceType >
nanoflann::KDTreeSingleIndexAdaptor< Distance, DatasetAdaptor, DIM, IndexType >::BranchStruct< T, DistanceType >::BranchStruct ( const T &  aNode,
DistanceType  dist 
)
inline

Definition at line 817 of file nanoflann.hpp.

Member Function Documentation

◆ operator<()

template<typename Distance , class DatasetAdaptor , int DIM = -1, typename IndexType = size_t>
template<typename T , typename DistanceType >
bool nanoflann::KDTreeSingleIndexAdaptor< Distance, DatasetAdaptor, DIM, IndexType >::BranchStruct< T, DistanceType >::operator< ( const BranchStruct< T, DistanceType > &  rhs) const
inline

Member Data Documentation

◆ mindist

template<typename Distance , class DatasetAdaptor , int DIM = -1, typename IndexType = size_t>
template<typename T , typename DistanceType >
DistanceType nanoflann::KDTreeSingleIndexAdaptor< Distance, DatasetAdaptor, DIM, IndexType >::BranchStruct< T, DistanceType >::mindist

◆ node

template<typename Distance , class DatasetAdaptor , int DIM = -1, typename IndexType = size_t>
template<typename T , typename DistanceType >
T nanoflann::KDTreeSingleIndexAdaptor< Distance, DatasetAdaptor, DIM, IndexType >::BranchStruct< T, DistanceType >::node

Definition at line 813 of file nanoflann.hpp.




Page generated by Doxygen 1.9.1 for MRPT 1.4.0 SVN: at Mon Apr 18 04:07:33 UTC 2022