org.geotools.graph.build.line
Interface LineGraphGenerator

All Superinterfaces:
GraphGenerator
All Known Implementing Classes:
BasicDirectedLineGraphGenerator, BasicLineGraphGenerator, DirectedLineStringGraphGenerator, LineStringGraphGenerator, OptDirectedLineGraphGenerator, OptLineGraphGenerator

public interface LineGraphGenerator
extends GraphGenerator

Builds a graph representing a line network.


Method Summary
 Edge getEdge(Coordinate coordinate1, Coordinate coordinate2)
          Retrieve edge between the two coordinates.
 Node getNode(Coordinate coordinate)
          Look up a Node for the provided coordinate.
 
Methods inherited from interface GraphGenerator
add, get, getGraph, getGraphBuilder, remove, setGraphBuilder
 

Method Detail

getNode

Node getNode(Coordinate coordinate)
Look up a Node for the provided coordinate.

Parameters:
coordinate -
Returns:
Node

getEdge

Edge getEdge(Coordinate coordinate1,
             Coordinate coordinate2)
Retrieve edge between the two coordinates.

Parameters:
coordinate1 -
coordinate2 -
Returns:
Edge


Copyright © 1996-2014 Geotools. All Rights Reserved.