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