It would be nice to generalize this to f32 as well.
My first thought was to accept an AttributeIterator directly in functions like compute_centroid. But that doesn't seem like a good solution.
Maybe it would be useful to have a super trait of PrimitiveType for Vector3<f64> and Vector3<f32>?
I would much rather contribute here than wrap pcl, so I am happy to work on this if necessary.
It would be nice to generalize this to
f32as well.My first thought was to accept an
AttributeIteratordirectly in functions likecompute_centroid. But that doesn't seem like a good solution.Maybe it would be useful to have a super trait of
PrimitiveTypeforVector3<f64>andVector3<f32>?I would much rather contribute here than wrap
pcl, so I am happy to work on this if necessary.