JTS Core 1.17.1
Packages
Classes
Search
About
Top
PolygonBuilder(GeometryFactory)
add(PlanarGraph): void
add(Collection, Collection): void
getPolygons(): List
Bottom
Source
Classic
org.locationtech.jts.operation.overlay
Class PolygonBuilder
Hierarchy:
Object
, PolygonBuilder
public class PolygonBuilder
Forms
Polygon
s out of a graph of
DirectedEdge
s. The edges to use are marked as being in the result Area.
Other
version: 1.7
public
PolygonBuilder(
GeometryFactory
geometryFactory)
public
void add(
PlanarGraph
graph)
Add a complete graph. The graph is assumed to contain one or more polygons, possibly with holes.
public
void add(
Collection
dirEdges,
Collection
nodes)
Add a set of edges and nodes, which form a graph. The graph is assumed to contain one or more polygons, possibly with holes.
public
List
getPolygons()