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

typedef IndexT IndexType

Definition at line 11 of file NearestNeighbor.h.

◆ ScalarType

typedef ScalarT ScalarType

Definition at line 10 of file NearestNeighbor.h.

Constructor & Destructor Documentation

◆ NN() [1/2]

NN ( )
inline

Definition at line 14 of file NearestNeighbor.h.

◆ NN() [2/2]

NN ( ScalarType  d,
IndexType  i 
)
inline

Definition at line 15 of file NearestNeighbor.h.

Member Function Documentation

◆ operator IndexType()

operator IndexType ( ) const
inline

Definition at line 43 of file NearestNeighbor.h.

◆ operator IndexType &()

operator IndexType & ( )
inline

Definition at line 47 of file NearestNeighbor.h.

◆ operator ScalarType()

operator ScalarType ( ) const
inline

Definition at line 51 of file NearestNeighbor.h.

◆ operator!=()

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

Definition at line 39 of file NearestNeighbor.h.

◆ operator<()

bool operator< ( const NN< ScalarT, IndexT > &  nn) const
inline

Definition at line 19 of file NearestNeighbor.h.

◆ operator<=()

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

Definition at line 27 of file NearestNeighbor.h.

◆ operator==()

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

Definition at line 35 of file NearestNeighbor.h.

◆ operator>()

bool operator> ( const NN< ScalarT, IndexT > &  nn) const
inline

Definition at line 23 of file NearestNeighbor.h.

◆ operator>=()

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

Definition at line 31 of file NearestNeighbor.h.

Member Data Documentation

◆ index

IndexType index

Definition at line 13 of file NearestNeighbor.h.

◆ sqrDist

ScalarType sqrDist

Definition at line 12 of file NearestNeighbor.h.


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