SurfaceTriangulation Class Reference

Triangulate polygons to get a pure triangle mesh. More...

`#include <pmp/algorithms/SurfaceTriangulation.h>`

## Public Types |

## Public Member Functions | |

SurfaceTriangulation (SurfaceMesh &mesh) | |

construct with mesh | |

void | triangulate (Objective o=MIN_AREA) |

triangulate all faces | |

void | triangulate (Face f, Objective o=MIN_AREA) |

triangulate a particular face f | |

Triangulate polygons to get a pure triangle mesh.

Tringulate n-gons into n-2 triangles. Find the triangulation that minimizes the sum of squared triangle areas. See [13] for details.

enum Objective |

triangulation objective: find the triangulation that minimizes the sum of squared triangle areas, or the one that maximizes the minimum angle.