Interface XYNode

All Superinterfaces:
Graphable, Node
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 Details

    • 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.