Clean and improve KDTreePCLAdaptor
- Templatize
KDTreePCLAdaptor
to be used with any PCL Point type - Replace
KDTreePCLAdaptor::query()
method byknnSearch()
for more intuitive use - Use
metric_L2_Simple
instead ofmetric_L2
as it is more suitable to 2D or 3D datasets such as pointclouds - Add optional leaf size setting
- Use float representation instead of double as PCL point coordinates only supports
float
precision