public class PolygonGraph
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.util.ArrayList<PolygonGraphEdge> |
edges |
java.util.ArrayList<PolygonGraphNode> |
nodes |
Constructor and Description |
---|
PolygonGraph(java.util.Collection<Feature> polygonFeatures)
creates a new polygon graph objects and populates it with the feature delivered
|
PolygonGraph(java.util.Collection<Feature> polygonFeatures,
TaskMonitor monitor)
creates a new polygon graph objects and populates it with the feature delivered
|
PolygonGraph(FeatureCollection polygonFeatures) |
Modifier and Type | Method and Description |
---|---|
void |
createPolygonGraphFrom(java.util.Collection<Feature> fc,
TaskMonitor monitor) |
FeatureCollection |
getCommonBoundaries(PolygonGraphNode node) |
FeatureCollection |
getEdgesBetweenInterriorPoints() |
FeatureCollection |
getNodesAsInterriorPoint() |
FeatureCollection |
getNonSharedBoundaries() |
FeatureCollection |
getSharedBoundaries() |
public java.util.ArrayList<PolygonGraphEdge> edges
public java.util.ArrayList<PolygonGraphNode> nodes
public PolygonGraph(java.util.Collection<Feature> polygonFeatures)
polygonFeatures
- public PolygonGraph(java.util.Collection<Feature> polygonFeatures, TaskMonitor monitor)
polygonFeatures
- monitor
- can be null, used to cancel operationpublic PolygonGraph(FeatureCollection polygonFeatures)
public void createPolygonGraphFrom(java.util.Collection<Feature> fc, TaskMonitor monitor)
fc
- monitor
- can be null, used to cancel operationpublic FeatureCollection getEdgesBetweenInterriorPoints()
public FeatureCollection getNodesAsInterriorPoint()
public FeatureCollection getSharedBoundaries()
public FeatureCollection getNonSharedBoundaries()
public FeatureCollection getCommonBoundaries(PolygonGraphNode node)