nanoflann
nanoflann copied to clipboard
Build 2D tree on 3D cloud
KDTreeVectorOfVectorsAdaptor<std::vector<pcl::PointXYZ>, float, 2>
or
KDTreeVectorOfVectorsAdaptor<std::vector<std::array<float, 3>>, float, 2>
Does it work?