public class RouteUpdating
extends java.lang.Object
Constructor and Description |
---|
RouteUpdating() |
Modifier and Type | Method and Description |
---|---|
static void |
truncateRouteBeginning(GeoPoint origin,
Route route)
Takes a route, and the current location of a point navigating along that route,
and truncates the beginning of route by removing points that have already been travelled,
and drawing a line from the point navigating along the route,
to the closest point on the route to that point.
|
static void |
truncateRouteEnding(GeoPoint dest,
Route route)
Takes a route, and the current location of a point being navigated to by the roue, and
updates the end of the route so that the last route segement is a line from the point
being navigated to, to the closest point on the route to the point being navigated to.
|
public static void truncateRouteBeginning(GeoPoint origin, Route route)
public static void truncateRouteEnding(GeoPoint dest, Route route)