Interface XYNode
- All Known Implementing Classes:
BasicDirectedXYNode
,BasicXYNode
,DelaunayNode
,OptDirectedXYNode
,OptXYNode
Represents a node in a line network. A node in a line graph has a coordinate associated with it.
- Author:
- Justin Deoliveira, Refractions Research Inc, jdeolive@refractions.net
-
Method Summary
Modifier and TypeMethodDescriptionReturns the coordinate associated with the node.void
Sets the coordinate associated with the node.Methods inherited from interface Graphable
getCount, getID, getObject, getRelated, isVisited, setCount, setID, setObject, setVisited
-
Method Details
-
getCoordinate
Coordinate getCoordinate()Returns the coordinate associated with the node.- Returns:
- A coordinate.
-
setCoordinate
Sets the coordinate associated with the node.- Parameters:
c
- A coordinate.
-