|
GEOS 3.13.1
|
#include <ConstrainedDelaunayTriangulator.h>
Public Member Functions | |
| ConstrainedDelaunayTriangulator (const Geometry *p_inputGeom) | |
Static Public Member Functions | |
| static std::unique_ptr< Geometry > | triangulate (const Geometry *geom) |
| static void | triangulatePolygon (const Polygon *poly, TriList< Tri > &triList) |
Computes the Constrained Delaunay Triangulation of polygons. The Constrained Delaunay Triangulation of a polygon is a set of triangles covering the polygon, with the maximum total interior angle over all possible triangulations. It provides the "best quality" triangulation of the polygon.
Holes are supported.
|
inline |
Constructs a new triangulator.
| p_inputGeom | the input geometry |
|
static |
Computes the Constrained Delaunay Triangulation of each polygon element in a geometry.
| geom | the input geometry |
|
static |
Computes the triangulation of a single polygon and returns it as a list of geos::triangulate::tri::Tris.
| poly | the input polygon |
| triList | the list to store the triangulation in |