public class ConstrainedDelaunayTriangulator extends Object
Holes are supported.
| Constructor and Description |
|---|
ConstrainedDelaunayTriangulator(Geometry inputGeom)
Constructs a new Constrained Delaunay triangulator.
|
| Modifier and Type | Method and Description |
|---|---|
Geometry |
getResult()
Gets the triangulation as a
GeometryCollection of triangular Polygons. |
List<Tri> |
getTriangles()
Gets the triangulation as a list of
Tris. |
static Geometry |
triangulate(Geometry geom)
Computes the Constrained Delaunay Triangulation of each polygon element in a geometry.
|
public ConstrainedDelaunayTriangulator(Geometry inputGeom)
inputGeom - the input geometrypublic static Geometry triangulate(Geometry geom)
geom - the input geometrypublic Geometry getResult()
GeometryCollection of triangular Polygons.Copyright © 2024. All rights reserved.