Triangulate polygons to get a pure triangle mesh. More...
#include <pmp/algorithms/SurfaceTriangulation.h>
Public Types  
enum class  Objective { MIN_AREA , MAX_ANGLE } 
Triangulation objective. More...  
Public Member Functions  
SurfaceTriangulation (SurfaceMesh &mesh)  
Construct with mesh.  
void  triangulate (Objective o=Objective::MIN_AREA) 
Triangulate all faces.  
void  triangulate (Face f, Objective o=Objective::MIN_AREA) 
Triangulate the Face f . More...  
Triangulate ngons into n2 triangles. Finds the triangulation that minimizes the sum of squared triangle areas, or the one that maximizes the minimum angle. See [14] for details.

strong 
void triangulate  (  Face  f, 
Objective  o = Objective::MIN_AREA 

) 
InvalidInputException  in case the input precondition is violated 