Description
Nearest-neighbor searches can be added to C++ projects with a header-only KD-tree library. It is useful for robotics, mapping, point clouds, and geometry code that needs fast spatial lookup.
Header-only libraries are used by applications rather than launched directly. Performance and correctness depend on data layout, distance metrics, and caller assumptions.