Class PolygonBuilder
java.lang.Object
org.locationtech.jts.operation.overlay.PolygonBuilder
Forms
Polygon
s out of a graph of DirectedEdge
s.
The edges to use are marked as being in the result Area.
- Version:
- 1.7
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(Collection dirEdges, Collection nodes) Add a set of edges and nodes, which form a graph.void
add
(PlanarGraph graph) Add a complete graph.
-
Constructor Details
-
PolygonBuilder
-
-
Method Details
-
add
Add a complete graph. The graph is assumed to contain one or more polygons, possibly with holes. -
add
Add a set of edges and nodes, which form a graph. The graph is assumed to contain one or more polygons, possibly with holes. -
getPolygons
-