nanoflann
C++ header-only ANN library
Loading...
Searching...
No Matches
nanoflann C++ API documentation

nanoflann is a C++ header-only library for building KD-Trees, mostly optimized for 2D or 3D point clouds.

nanoflann does not require compiling or installing, just an #include <nanoflann.hpp> in your code.

Macros that are observed in this file:

  • NANOFLANN_NO_THREADS: If defined, single thread will be enforced.
  • NANOFLANN_FIRST_MATCH: If defined, in case of a tie in distances the item with the smallest index will be returned.
  • NANOFLANN_NODE_ALIGNMENT: The memory alignment, in bytes, for kd-tree nodes. Default: 16

See: