Interface Router
-
- All Known Implementing Classes:
AirDistanceRouter,GraphHopperRouter
public interface RouterProvides paths between locations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<Coordinates>getPath(Coordinates from, Coordinates to)Get path between two locations.
-
-
-
Method Detail
-
getPath
List<Coordinates> getPath(Coordinates from, Coordinates to)
Get path between two locations.- Parameters:
from- starting locationto- destination- Returns:
- list of coordinates describing the path between given locations.
-
-