A 2D/3D spatial hash using nanoflann useful for quick nearest neighbor calculations.