public class ConformingDelaunayTriangulationBuilder extends Object
| Constructor and Description |
|---|
ConformingDelaunayTriangulationBuilder()
|
| Modifier and Type | Method and Description |
|---|---|
Geometry |
getEdges(GeometryFactory
Gets the edges of the computed triangulation as a
MultiLineString.
|
QuadEdgeSubdivision |
getSubdivision()
Gets the QuadEdgeSubdivision which models the computed triangulation.
|
Geometry |
getTriangles(GeometryFactory
Gets the faces of the computed triangulation as a
GeometryCollection of
Polygon.
|
void |
setConstraints(Geometry
Sets the linear constraints to be conformed to.
|
void |
setSites(Geometry
Sets the sites (point or vertices) which will be triangulated.
|
void |
setTolerance(double tolerance)
Sets the snapping tolerance which will be used to improved the robustness of the triangulation computation.
|
public ConformingDelaunayTriangulationBuilder()
public void setSites(Geometrygeom)
geom - the geometry from which the sites will be extracted.
public void setConstraints(GeometryconstraintLines)
constraintLines - the lines to constraint to
public void setTolerance(double tolerance)
tolerance - the tolerance distance to use
public QuadEdgeSubdivisiongetSubdivision()
public GeometrygetEdges(GeometryFactory geomFact)
MultiLineString.
geomFact - the geometry factory to use to create the output
public GeometrygetTriangles(GeometryFactory geomFact)
GeometryCollection of
Polygon.
geomFact - the geometry factory to use to create the output