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.
|
boolean |
containsPoint(Coordinate p)
Checks the current set of shells (with their associated holes) to
see if any of them contain the point.
|
List |
getPolygons() |
public PolygonBuilder(GeometryFactory geometryFactory)
public void add(PlanarGraph graph)
public void add(Collection dirEdges, Collection nodes)
public List getPolygons()
public boolean containsPoint(Coordinate p)
Copyright © 2016. All rights reserved.