![]() |
nanoflann
C++ header-only ANN library
|
#include <nanoflann.hpp>
Public Types | |
using | ElementType = T |
using | DistanceType = _DistanceType |
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) |
DataSource | Source of the data, i.e. where the vectors are stored |
_DistanceType | Type of distance variables (must be signed) |
AccessorType | Type of the arguments with which the data can be accessed (e.g. float, double, int64_t, T*) |