NN< ScalarT, IndexT > Struct Template Reference

#include <VisionX/components/pointcloud_processor/EfficientRANSACPrimitiveExtractor/EfficientRANSAC/GfxTL/NearestNeighbor.h>

Public Types

typedef IndexT IndexType
 
typedef ScalarT ScalarType
 

Public Member Functions

 NN ()
 
 NN (ScalarType d, IndexType i)
 
 operator IndexType () const
 
 operator IndexType & ()
 
 operator ScalarType () const
 
bool operator!= (const NN &nn) const
 
bool operator< (const NN &nn) const
 
bool operator<= (const NN &nn) const
 
bool operator== (const NN &nn) const
 
bool operator> (const NN &nn) const
 
bool operator>= (const NN &nn) const
 

Public Attributes

IndexType index
 
ScalarType sqrDist
 

Member Typedef Documentation

◆ IndexType

template<class ScalarT, class IndexT = size_t>
typedef IndexT IndexType

◆ ScalarType

template<class ScalarT, class IndexT = size_t>
typedef ScalarT ScalarType

Constructor & Destructor Documentation

◆ NN() [1/2]

template<class ScalarT, class IndexT = size_t>
NN ( )
inline

◆ NN() [2/2]

template<class ScalarT, class IndexT = size_t>
NN ( ScalarType d,
IndexType i )
inline

Member Function Documentation

◆ operator IndexType()

template<class ScalarT, class IndexT = size_t>
operator IndexType ( ) const
inline

◆ operator IndexType &()

template<class ScalarT, class IndexT = size_t>
operator IndexType & ( )
inline

◆ operator ScalarType()

template<class ScalarT, class IndexT = size_t>
operator ScalarType ( ) const
inline

◆ operator!=()

template<class ScalarT, class IndexT = size_t>
bool operator!= ( const NN< ScalarT, IndexT > & nn) const
inline

◆ operator<()

template<class ScalarT, class IndexT = size_t>
bool operator< ( const NN< ScalarT, IndexT > & nn) const
inline

◆ operator<=()

template<class ScalarT, class IndexT = size_t>
bool operator<= ( const NN< ScalarT, IndexT > & nn) const
inline

◆ operator==()

template<class ScalarT, class IndexT = size_t>
bool operator== ( const NN< ScalarT, IndexT > & nn) const
inline

◆ operator>()

template<class ScalarT, class IndexT = size_t>
bool operator> ( const NN< ScalarT, IndexT > & nn) const
inline

◆ operator>=()

template<class ScalarT, class IndexT = size_t>
bool operator>= ( const NN< ScalarT, IndexT > & nn) const
inline

Member Data Documentation

◆ index

template<class ScalarT, class IndexT = size_t>
IndexType index

◆ sqrDist

template<class ScalarT, class IndexT = size_t>
ScalarType sqrDist

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