Interface XYNode
-
- All Known Implementing Classes:
BasicDirectedXYNode
,BasicXYNode
,DelaunayNode
,OptDirectedXYNode
,OptXYNode
public interface XYNode extends Node
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Coordinate
getCoordinate()
Returns the coordinate associated with the node.void
setCoordinate(Coordinate c)
Sets the coordinate associated with the node.-
Methods inherited from interface Graphable
getCount, getID, getObject, getRelated, isVisited, setCount, setID, setObject, setVisited
-
-
-
-
Method Detail
-
getCoordinate
Coordinate getCoordinate()
Returns the coordinate associated with the node.- Returns:
- A coordinate.
-
setCoordinate
void setCoordinate(Coordinate c)
Sets the coordinate associated with the node.- Parameters:
c
- A coordinate.
-
-