File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -15,17 +15,17 @@ iners only. The files are well documented, feel free to poke around.
1515Although in this example pcl pointcloud was used, the interface is a template
1616function that takes any vector with points (expect to have field x, y and z)
1717
18- func(pcl::PointCloud< pcl::PointXYZI > ::Ptr PC, Point3D& p)
19- {
20- Convexhull ch(PC->points);
21- if(ch.Contains(p)) // surface point is consider outside
22- {
23- //do something
24- }
25- auto vertices = ch.GetVertices();
26- auto faces = ch.GetFaces();
27- ...
28- }
18+ func(pcl::PointCloud< pcl::PointXYZI > ::Ptr PC, Point3D& p)
19+ {
20+ Convexhull ch(PC->points);
21+ if(ch.Contains(p)) // surface point is consider outside
22+ {
23+ //do something
24+ }
25+ auto vertices = ch.GetVertices();
26+ auto faces = ch.GetFaces();
27+ ...
28+ }
2929
3030## Who calls whom
3131 ConvexHull()
You can’t perform that action at this time.
0 commit comments