Main MRPT website > C++ reference
MRPT logo
Classes | Functions
Metric (distance) classes

Detailed Description

Collaboration diagram for Metric (distance) classes:

Classes

struct  nanoflann::L1_Adaptor< T, DataSource, _DistanceType >
 Manhattan distance functor (generic version, optimized for high-dimensionality data sets). More...
 
struct  nanoflann::L2_Adaptor< T, DataSource, _DistanceType >
 Squared Euclidean distance functor (generic version, optimized for high-dimensionality data sets). More...
 
struct  nanoflann::L2_Simple_Adaptor< T, DataSource, _DistanceType >
 Squared Euclidean distance functor (suitable for low-dimensionality datasets, like 2D or 3D point clouds) Corresponding distance traits: nanoflann::metric_L2_Simple. More...
 
struct  nanoflann::metric_L1
 Metaprogramming helper traits class for the L1 (Manhattan) metric. More...
 
struct  nanoflann::metric_L2
 Metaprogramming helper traits class for the L2 (Euclidean) metric. More...
 
struct  nanoflann::metric_L2_Simple
 Metaprogramming helper traits class for the L2_simple (Euclidean) metric. More...
 

Functions

template<typename T >
nanoflann::abs (T x)
 
template<>
int nanoflann::abs< int > (int x)
 
template<>
float nanoflann::abs< float > (float x)
 
template<>
double nanoflann::abs< double > (double x)
 
template<>
long double nanoflann::abs< long double > (long double x)
 

Function Documentation

◆ abs()

template<typename T >
T nanoflann::abs ( x)
inline

◆ abs< double >()

template<>
double nanoflann::abs< double > ( double  x)
inline

Definition at line 240 of file nanoflann.hpp.

◆ abs< float >()

template<>
float nanoflann::abs< float > ( float  x)
inline

Definition at line 239 of file nanoflann.hpp.

◆ abs< int >()

template<>
int nanoflann::abs< int > ( int  x)
inline

Definition at line 238 of file nanoflann.hpp.

References nanoflann::abs().

◆ abs< long double >()

template<>
long double nanoflann::abs< long double > ( long double  x)
inline

Definition at line 241 of file nanoflann.hpp.




Page generated by Doxygen 1.8.14 for MRPT 1.0.2 SVN: at lun oct 28 00:52:41 CET 2019 Hosted on:
SourceForge.net Logo