A templated k-d tree nearest neighbour search addon for openFrameworks based on nanoflann.
Search for n nearest neighbours or neighbours within a certain radius in 2D or 3D.
See examples.
A templated k-d tree nearest neighbour search addon for openFrameworks based on nanoflann.
C++