|
JTS Topology Suite - v 1.12 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.vividsolutions.jts.operation.overlay.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.
Constructor Summary | |
---|---|
PolygonBuilder(GeometryFactory geometryFactory)
|
Method Summary | |
---|---|
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. |
boolean |
containsPoint(Coordinate p)
Checks the current set of shells (with their associated holes) to see if any of them contain the point. |
java.util.List |
getPolygons()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PolygonBuilder(GeometryFactory geometryFactory)
Method Detail |
---|
public void add(PlanarGraph graph)
public void add(java.util.Collection dirEdges, java.util.Collection nodes)
public java.util.List getPolygons()
public boolean containsPoint(Coordinate p)
|
JTS Topology Suite - v 1.12 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |