NearestNeighbor< Scalar, HandleT > Struct Template Reference

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

Public Types

typedef HandleT HandleType
 
typedef Scalar ScalarType
 

Public Member Functions

 NearestNeighbor ()
 
 NearestNeighbor (HandleType i, ScalarType d)
 
 operator const HandleType & () const
 
 operator HandleType & ()
 
bool operator< (const NearestNeighbor &nn) const
 
bool operator<= (const NearestNeighbor &nn) const
 
bool operator> (const NearestNeighbor &nn) const
 
bool operator>= (const NearestNeighbor &nn) const
 

Public Attributes

HandleType index
 
ScalarType sqrDist
 

Detailed Description

template<class Scalar, class HandleT = size_t>
struct GfxTL::NearestNeighbor< Scalar, HandleT >

Definition at line 10 of file NearestNeighbors.h.

Member Typedef Documentation

◆ HandleType

template<class Scalar, class HandleT = size_t>
typedef HandleT HandleType

Definition at line 13 of file NearestNeighbors.h.

◆ ScalarType

template<class Scalar, class HandleT = size_t>
typedef Scalar ScalarType

Definition at line 12 of file NearestNeighbors.h.

Constructor & Destructor Documentation

◆ NearestNeighbor() [1/2]

template<class Scalar, class HandleT = size_t>
NearestNeighbor ( )
inline

Definition at line 15 of file NearestNeighbors.h.

◆ NearestNeighbor() [2/2]

template<class Scalar, class HandleT = size_t>
NearestNeighbor ( HandleType i,
ScalarType d )
inline

Definition at line 19 of file NearestNeighbors.h.

Member Function Documentation

◆ operator const HandleType &()

template<class Scalar, class HandleT = size_t>
operator const HandleType & ( ) const
inline

Definition at line 52 of file NearestNeighbors.h.

◆ operator HandleType &()

template<class Scalar, class HandleT = size_t>
operator HandleType & ( )
inline

Definition at line 47 of file NearestNeighbors.h.

◆ operator<()

template<class Scalar, class HandleT = size_t>
bool operator< ( const NearestNeighbor< Scalar, HandleT > & nn) const
inline

Definition at line 23 of file NearestNeighbors.h.

◆ operator<=()

template<class Scalar, class HandleT = size_t>
bool operator<= ( const NearestNeighbor< Scalar, HandleT > & nn) const
inline

Definition at line 35 of file NearestNeighbors.h.

◆ operator>()

template<class Scalar, class HandleT = size_t>
bool operator> ( const NearestNeighbor< Scalar, HandleT > & nn) const
inline

Definition at line 30 of file NearestNeighbors.h.

◆ operator>=()

template<class Scalar, class HandleT = size_t>
bool operator>= ( const NearestNeighbor< Scalar, HandleT > & nn) const
inline

Definition at line 42 of file NearestNeighbors.h.

Member Data Documentation

◆ index

template<class Scalar, class HandleT = size_t>
HandleType index

Definition at line 57 of file NearestNeighbors.h.

◆ sqrDist

template<class Scalar, class HandleT = size_t>
ScalarType sqrDist

Definition at line 58 of file NearestNeighbors.h.


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