org.geotools.graph.structure.line
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
Module:
modules/extension/graph (gt-graph.jar)

Method Summary
 Coordinate getCoordinate()
          Returns the coordinate associated with the node.
 void setCoordinate(Coordinate c)
          Sets the coordinate associated with the node.
 
Methods inherited from interface Node
add, getDegree, getEdge, getEdges, getEdges, remove
 
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.


Copyright © 1996-2010 Geotools. All Rights Reserved.