Package org.geotools.graph.build.line
Interface LineGraphGenerator
- All Superinterfaces:
GraphGenerator
- All Known Implementing Classes:
BasicDirectedLineGraphGenerator
,BasicLineGraphGenerator
,DirectedLineStringGraphGenerator
,LineStringGraphGenerator
,OptDirectedLineGraphGenerator
,OptLineGraphGenerator
Builds a graph representing a line network.
-
Method Summary
Modifier and TypeMethodDescriptiongetEdge
(Coordinate coordinate1, Coordinate coordinate2) Retrieve edge between the two coordinates.getNode
(Coordinate coordinate) Look up a Node for the provided coordinate.Methods inherited from interface GraphGenerator
add, get, getGraph, getGraphBuilder, remove, setGraphBuilder
-
Method Details
-
getNode
Look up a Node for the provided coordinate.- Returns:
- Node
-
getEdge
Retrieve edge between the two coordinates.- Returns:
- Edge
-