|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.graph.GraphComponent org.geotools.graph.Edge org.geotools.graph.network.NetworkEdge
An Edge connects two nodes in the network.
Nested Class Summary |
Nested classes inherited from class org.geotools.feature.Feature |
org.geotools.feature.Feature.NULL |
Constructor Summary | |
NetworkEdge(org.geotools.feature.Feature feature,
Node nodeA,
Node nodeB)
Creates a NetworkEdge instance. |
Method Summary | |
com.vividsolutions.jts.geom.Geometry |
buildGeometry()
Builds a Geometry object to represent the network edge spatially. |
Methods inherited from class org.geotools.graph.Edge |
endpointEquals, endpointEqualsReverse, equals, equals, equalsReverse, getAdjacentElements, getNodeA, getNodeB, getOtherNode, reverse, toString |
Methods inherited from class org.geotools.graph.GraphComponent |
compareTo, getAttribute, getAttribute, getAttributes, getBounds, getCount, getDefaultGeometry, getFeature, getFeatureType, getID, getNumberOfAttributes, getParent, getSchema, isVisited, schema, setAttribute, setAttribute, setAttributes, setCount, setDefaultGeometry, setParent, setVisited |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public NetworkEdge(org.geotools.feature.Feature feature, Node nodeA, Node nodeB)
feature
- Underlying Feature represented by the edge.nodeA
- Node at the source of the edge.nodeB
- Node at the destination of the edge.Method Detail |
public com.vividsolutions.jts.geom.Geometry buildGeometry()
buildGeometry
in class Edge
Geometry
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |