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 9 of file NearestNeighbors.h.

Member Typedef Documentation

◆ HandleType

typedef HandleT HandleType

Definition at line 12 of file NearestNeighbors.h.

◆ ScalarType

typedef Scalar ScalarType

Definition at line 11 of file NearestNeighbors.h.

Constructor & Destructor Documentation

◆ NearestNeighbor() [1/2]

NearestNeighbor ( )
inline

Definition at line 14 of file NearestNeighbors.h.

◆ NearestNeighbor() [2/2]

NearestNeighbor ( HandleType  i,
ScalarType  d 
)
inline

Definition at line 17 of file NearestNeighbors.h.

Member Function Documentation

◆ operator const HandleType &()

operator const HandleType & ( ) const
inline

Definition at line 47 of file NearestNeighbors.h.

◆ operator HandleType &()

operator HandleType & ( )
inline

Definition at line 42 of file NearestNeighbors.h.

◆ operator<()

bool operator< ( const NearestNeighbor< Scalar, HandleT > &  nn) const
inline

Definition at line 22 of file NearestNeighbors.h.

◆ operator<=()

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

Definition at line 32 of file NearestNeighbors.h.

◆ operator>()

bool operator> ( const NearestNeighbor< Scalar, HandleT > &  nn) const
inline

Definition at line 27 of file NearestNeighbors.h.

◆ operator>=()

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

Definition at line 37 of file NearestNeighbors.h.

Member Data Documentation

◆ index

HandleType index

Definition at line 52 of file NearestNeighbors.h.

◆ sqrDist

ScalarType sqrDist

Definition at line 53 of file NearestNeighbors.h.


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