Package 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.- Returns:
- Node
-
getEdge
Edge getEdge(Coordinate coordinate1, Coordinate coordinate2)
Retrieve edge between the two coordinates.- Returns:
- Edge
-
-