public class PolygonBuilder extends Object
Polygon
s out of a graph of DirectedEdge
s.
The edges to use are marked as being in the result Area.
Constructor and Description |
---|
PolygonBuilder(GeometryFactory geometryFactory) |
Modifier and Type | Method and Description |
---|---|
void |
add(Collection dirEdges,
Collection nodes)
Add a set of edges and nodes, which form a graph.
|
void |
add(PlanarGraph graph)
Add a complete graph.
|
List |
getPolygons() |
public PolygonBuilder(GeometryFactory geometryFactory)
public void add(PlanarGraph graph)
public void add(Collection dirEdges, Collection nodes)
public List getPolygons()
Copyright © 2020. All rights reserved.