|
Point Cloud Library (PCL) 1.3.1
|
The ear clipping triangulation algorithm. More...
#include <pcl/surface/ear_clipping.h>

Public Member Functions | |
| void | setInputPolygonMesh (pcl::PolygonMeshConstPtr polygon) |
| Provide a pointer to the input PolygonMesh. | |
| void | triangulate (PolygonMesh &output) |
| Decompose a polygon mesh into a set of triangles. | |
The ear clipping triangulation algorithm.
The code is inspired by Flavien Brebion implementation, which is in n^3 and does not handle holes.
Definition at line 55 of file ear_clipping.h.
| void pcl::EarClipping::setInputPolygonMesh | ( | pcl::PolygonMeshConstPtr | polygon | ) | [inline] |
Provide a pointer to the input PolygonMesh.
| polygon | the const boost shared pointer to a PolygonMesh |
Definition at line 61 of file ear_clipping.h.
| void pcl::EarClipping::triangulate | ( | PolygonMesh & | output | ) | [inline] |
Decompose a polygon mesh into a set of triangles.
Every polygon of the input PolygonMesh will be divided into triangle polygons.
| output | the resultant mesh with triangular polygons |
Definition at line 74 of file ear_clipping.h.
1.7.4