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 Polygon s. |
List<Tri> |
getTriangles()
Gets the triangulation as a list of
Tri s. |
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 Polygon
s.Copyright © 2022. All rights reserved.