org.openjump.core.graph.polygongraph
Class PolygonGraphEdge

java.lang.Object
  extended by org.openjump.core.graph.polygongraph.PolygonGraphEdge

public class PolygonGraphEdge
extends java.lang.Object


Field Summary
 boolean boundaryCalculated
           
 int edgeId
           
 PolygonGraphNode node1
           
 PolygonGraphNode node2
           
 
Constructor Summary
PolygonGraphEdge(PolygonGraphNode node1, PolygonGraphNode node2)
           
 
Method Summary
 java.util.ArrayList<com.vividsolutions.jts.geom.Geometry> getBoundaries()
           
 java.util.ArrayList<Feature> getBoundariesAsFeature()
           
 com.vividsolutions.jts.geom.LineString getEdgeAsInterriorPointLineString()
           
 Feature getEdgeBetweenInterriorPointsAsFeature()
           
static FeatureSchema getEdgeFeatureSchema()
           
 boolean hasNodes(int nodeId1, int nodeId2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

edgeId

public int edgeId

node1

public PolygonGraphNode node1

node2

public PolygonGraphNode node2

boundaryCalculated

public boolean boundaryCalculated
Constructor Detail

PolygonGraphEdge

public PolygonGraphEdge(PolygonGraphNode node1,
                        PolygonGraphNode node2)
Method Detail

hasNodes

public boolean hasNodes(int nodeId1,
                        int nodeId2)

getEdgeAsInterriorPointLineString

public com.vividsolutions.jts.geom.LineString getEdgeAsInterriorPointLineString()

getEdgeBetweenInterriorPointsAsFeature

public Feature getEdgeBetweenInterriorPointsAsFeature()

getEdgeFeatureSchema

public static FeatureSchema getEdgeFeatureSchema()

getBoundaries

public java.util.ArrayList<com.vividsolutions.jts.geom.Geometry> getBoundaries()

getBoundariesAsFeature

public java.util.ArrayList<Feature> getBoundariesAsFeature()