org.geotools.graph.structure.line
Class BasicXYNode
Object
BasicGraphable
BasicNode
BasicXYNode
- All Implemented Interfaces:
- Serializable, Graphable, XYNode, Node
- Direct Known Subclasses:
- DelaunayNode
public class BasicXYNode
- extends BasicNode
- implements XYNode
Basic implementation of XYNode extended from BasicNode. The coordinate is
stored in the underlying object reference of the node.
- Author:
- Justin Deoliveira, Refractions Research Inc, jdeolive@refractions.net
- See Also:
BasicNode
,
Serialized Form
- Module:
modules/extension/graph (gt-graph.jar)
BasicXYNode
public BasicXYNode()
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-2010 Geotools. All Rights Reserved.