public class PolygonBuilder extends Object
Polygons out of a graph of
DirectedEdges. The edges to use are marked as being in the result Area.
| Constructor and Description |
|---|
PolygonBuilder(GeometryFactory
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(Collection
Add a set of edges and nodes, which form a graph.
|
void |
add(PlanarGraph
Add a complete graph.
|
boolean |
containsPoint(Coordinate
Checks the current set of shells (with their associated holes) to see if any of them contain the point.
|
List |
getPolygons()
|
public PolygonBuilder(GeometryFactorygeometryFactory)
public void add(PlanarGraphgraph)
public void add(CollectiondirEdges, Collection nodes)
public ListgetPolygons()
public boolean containsPoint(Coordinatep)