org.geotools.graph.structure.line
Class BasicDirectedXYNode
Object
BasicGraphable
BasicDirectedNode
BasicDirectedXYNode
- All Implemented Interfaces:
- Serializable, DirectedGraphable, DirectedNode, Graphable, XYNode, Node
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.
- Author:
- Justin Deoliveira, Refractions Research Inc, jdeolive@refractions.net
- See Also:
BasicDirectedNode
,
Serialized Form
Methods inherited from class BasicDirectedNode |
add, addIn, addOut, getDegree, getEdge, getEdges, getEdges, getInDegree, getInEdge, getInEdges, getInEdges, getInRelated, getOutDegree, getOutEdge, getOutEdges, getOutEdges, getOutRelated, getRelated, remove, removeIn, removeOut |
BasicDirectedXYNode
public BasicDirectedXYNode()
getCoordinate
public Coordinate getCoordinate()
- Description copied from interface:
XYNode
- Returns the coordinate associated with the node.
- Specified by:
getCoordinate
in interface XYNode
- Returns:
- A coordinate.
- See Also:
XYNode.getCoordinate()
setCoordinate
public void setCoordinate(Coordinate c)
- Description copied from interface:
XYNode
- Sets the coordinate associated with the node.
- Specified by:
setCoordinate
in interface XYNode
- Parameters:
c
- A coordinate.- See Also:
XYNode.setCoordinate(Coordinate)
Copyright © 1996-2014 Geotools. All Rights Reserved.