OpenLB 1.7
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
nanoflann::KDTreeSingleIndexAdaptor< Distance, DatasetAdaptor, DIM, IndexType >::BranchStruct< T, DistanceType > Struct Template Reference

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

#include <nanoflann.hpp>

+ Collaboration diagram for nanoflann::KDTreeSingleIndexAdaptor< Distance, DatasetAdaptor, DIM, IndexType >::BranchStruct< T, DistanceType >:

Public Member Functions

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

Public Attributes

node
 
DistanceType mindist
 

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 938 of file nanoflann.hpp.

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 942 of file nanoflann.hpp.

942 {
943 }

◆ 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

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

Definition at line 940 of file nanoflann.hpp.

◆ 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 939 of file nanoflann.hpp.


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