#include <nanoflann.hpp>
Public Types | |
| typedef _DistanceType | DistanceType |
| typedef T | ElementType |
Public Member Functions | |
| template<typename U , typename V > | |
| DistanceType | accum_dist (const U a, const V b, const size_t) const |
| DistanceType | evalMetric (const T *a, const size_t b_idx, size_t size) const |
| L2_Simple_Adaptor (const DataSource &_data_source) | |
Public Attributes | |
| const DataSource & | data_source |
Squared Euclidean (L2) distance functor (suitable for low-dimensionality datasets, like 2D or 3D point clouds) Corresponding distance traits: nanoflann::metric_L2_Simple
| T | Type of the elements (e.g. double, float, uint8_t) |
| _DistanceType | Type of distance variables (must be signed) (e.g. float, double, int64_t) |
Definition at line 423 of file nanoflann.hpp.
| typedef _DistanceType nanoflann::L2_Simple_Adaptor< T, DataSource, _DistanceType >::DistanceType |
Definition at line 425 of file nanoflann.hpp.
| typedef T nanoflann::L2_Simple_Adaptor< T, DataSource, _DistanceType >::ElementType |
Definition at line 424 of file nanoflann.hpp.
|
inline |
Definition at line 429 of file nanoflann.hpp.
|
inline |
Definition at line 443 of file nanoflann.hpp.
|
inline |
Definition at line 432 of file nanoflann.hpp.
| const DataSource& nanoflann::L2_Simple_Adaptor< T, DataSource, _DistanceType >::data_source |
Definition at line 427 of file nanoflann.hpp.