Class BasicDirectedXYNode

  extended byorg.geotools.graph.structure.basic.BasicGraphable
      extended byorg.geotools.graph.structure.basic.BasicDirectedNode
          extended byorg.geotools.graph.structure.line.BasicDirectedXYNode
All Implemented Interfaces:
DirectedGraphable, DirectedNode, Graphable, Node,, XYNode

public class BasicDirectedXYNode
extends BasicDirectedNode
implements XYNode

Basic implementation of a directed XYNode extended from BasicDirectedNode. The coordinate is stored in the underlying object reference of the node.

Justin Deoliveira, Refractions Research Inc,
See Also:
BasicDirectedNode, Serialized Form

Constructor Summary
Method Summary
 com.vividsolutions.jts.geom.Coordinate getCoordinate()
          Returns the coordinate associated with the node.
 void setCoordinate(com.vividsolutions.jts.geom.Coordinate c)
          Sets the coordinate associated with the node.
Methods inherited from class org.geotools.graph.structure.basic.BasicDirectedNode
add, addIn, addOut, getDegree, getEdge, getEdges, getEdges, getInDegree, getInEdge, getInEdges, getInEdges, getInRelated, getOutDegree, getOutEdge, getOutEdges, getOutEdges, getOutRelated, getRelated, remove, removeIn, removeOut
Methods inherited from class org.geotools.graph.structure.basic.BasicGraphable
getCount, getID, getObject, isVisited, setCount, setID, setObject, setVisited, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.geotools.graph.structure.Node
add, getDegree, getEdge, getEdges, getEdges, remove
Methods inherited from interface org.geotools.graph.structure.Graphable
getCount, getID, getObject, getRelated, isVisited, setCount, setID, setObject, setVisited

Constructor Detail


public BasicDirectedXYNode()
Method Detail


public com.vividsolutions.jts.geom.Coordinate getCoordinate()
Description copied from interface: XYNode
Returns the coordinate associated with the node.

Specified by:
getCoordinate in interface XYNode
A coordinate.
See Also:


public void setCoordinate(com.vividsolutions.jts.geom.Coordinate c)
Description copied from interface: XYNode
Sets the coordinate associated with the node.

Specified by:
setCoordinate in interface XYNode
c - A coordinate.
See Also:

Copyright © GeoTools. All Rights Reserved.