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
 

Detailed Description

template<class ScalarT, class IndexT = size_t>
struct GfxTL::NN< ScalarT, IndexT >

Definition at line 8 of file NearestNeighbor.h.

Member Typedef Documentation

◆ IndexType

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

Definition at line 11 of file NearestNeighbor.h.

◆ ScalarType

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

Definition at line 10 of file NearestNeighbor.h.

Constructor & Destructor Documentation

◆ NN() [1/2]

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

Definition at line 15 of file NearestNeighbor.h.

◆ NN() [2/2]

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

Definition at line 19 of file NearestNeighbor.h.

Member Function Documentation

◆ operator IndexType()

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

Definition at line 59 of file NearestNeighbor.h.

◆ operator IndexType &()

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

Definition at line 64 of file NearestNeighbor.h.

◆ operator ScalarType()

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

Definition at line 69 of file NearestNeighbor.h.

◆ operator!=()

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

Definition at line 54 of file NearestNeighbor.h.

◆ operator<()

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

Definition at line 23 of file NearestNeighbor.h.

◆ operator<=()

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

Definition at line 35 of file NearestNeighbor.h.

◆ operator==()

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

Definition at line 48 of file NearestNeighbor.h.

◆ operator>()

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

Definition at line 30 of file NearestNeighbor.h.

◆ operator>=()

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

Definition at line 42 of file NearestNeighbor.h.

Member Data Documentation

◆ index

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

Definition at line 13 of file NearestNeighbor.h.

◆ sqrDist

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

Definition at line 12 of file NearestNeighbor.h.


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