org.openjump.core.graph.polygongraph
Class PolygonGraph
java.lang.Object
org.openjump.core.graph.polygongraph.PolygonGraph
public class PolygonGraph
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
edges
public java.util.ArrayList<PolygonGraphEdge> edges
nodes
public java.util.ArrayList<PolygonGraphNode> nodes
PolygonGraph
public PolygonGraph(java.util.Collection<Feature> polygonFeatures)
- creates a new polygon graph objects and populates it with the feature delivered
- Parameters:
polygonFeatures -
PolygonGraph
public PolygonGraph(java.util.Collection<Feature> polygonFeatures,
TaskMonitor monitor)
- creates a new polygon graph objects and populates it with the feature delivered
- Parameters:
polygonFeatures - monitor - can be null, used to cancel operation
PolygonGraph
public PolygonGraph(FeatureCollection polygonFeatures)
createPolygonGraphFrom
public void createPolygonGraphFrom(java.util.Collection<Feature> fc,
TaskMonitor monitor)
- Parameters:
fc - monitor - can be null, used to cancel operation
getEdgesBetweenInterriorPoints
public FeatureCollection getEdgesBetweenInterriorPoints()
getNodesAsInterriorPoint
public FeatureCollection getNodesAsInterriorPoint()
getSharedBoundaries
public FeatureCollection getSharedBoundaries()
getNonSharedBoundaries
public FeatureCollection getNonSharedBoundaries()
getCommonBoundaries
public FeatureCollection getCommonBoundaries(PolygonGraphNode node)