Ask Your Question

Revision history [back]

I am not completely sure because it has been a while, but I believe you have to use pcl::PointXYZ with z=0 (or another arbitrary constant) for all points. You can try to #include <pcl/surface/impl/convex_hull.hpp> instead, but if I remember correctly, the implementation actually expects 3D points and will choke on pcl::PointXY.