#include <nanoflann.hpp>
|
typedef T | ElementType |
|
typedef _DistanceType | DistanceType |
|
|
| L2_Simple_Adaptor (const DataSource &_data_source) |
|
DistanceType | evalMetric (const T *a, const size_t b_idx, size_t size) const |
|
template<typename U , typename V > |
DistanceType | accum_dist (const U a, const V b, int) const |
|
|
const DataSource & | data_source |
|
template<class T, class DataSource, typename _DistanceType = T>
struct nanoflann::L2_Simple_Adaptor< T, DataSource, _DistanceType >
Squared Euclidean (L2) distance functor (suitable for low-dimensionality datasets, like 2D or 3D point clouds) Corresponding distance traits: nanoflann::metric_L2_Simple
- Template Parameters
-
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) |
The documentation for this struct was generated from the following file: