Main MRPT website > C++ reference
MRPT logo
Classes | Functions
Metric (distance) classes
nanoflann C++ library for ANN
Collaboration diagram for Metric (distance) classes:

Classes

struct  nanoflann::L1_Adaptor
 Manhattan distance functor (generic version, optimized for high-dimensionality data sets). More...
struct  nanoflann::L2_Adaptor
 Squared Euclidean distance functor (generic version, optimized for high-dimensionality data sets). More...
struct  nanoflann::L2_Simple_Adaptor
 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

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

Definition at line 217 of file nanoflann.hpp.

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

Definition at line 216 of file nanoflann.hpp.

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

Definition at line 215 of file nanoflann.hpp.

References nanoflann::abs().

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

Definition at line 218 of file nanoflann.hpp.




Page generated by Doxygen 1.7.5 for MRPT 0.9.5 SVN: at Thu Oct 13 21:25:36 UTC 2011