class is used for storing the route path between the two points on the location. More...
Public Member Functions | |
| abstract RoutePath | head (float advance) |
| Returns the leading segment of the route. | |
| abstract RoutePath | tail (float advance) |
| Returns the remaining segment of the route. | |
| abstract float | getLength () |
| Total lenth of the route path in meters. | |
| abstract ArrayList< RouteEvent > | getEvents () |
| List of consecutive incoming events RouteEvent. | |
| abstract ArrayList< LocationPoint > | getPoints () |
| List of consecutive points. com.navigine.idl.java.LocationPoint. | |
class is used for storing the route path between the two points on the location.
Referenced from: AsyncRouteListener, AsyncRouteManager, Location, RouteListener, RouteManager
Definition at line 20 of file RoutePath.java.
|
abstract |
List of consecutive incoming events RouteEvent.
Java code snippet:
Kotlin code snippet:
|
abstract |
Total lenth of the route path in meters.
Java code snippet:
Kotlin code snippet:
|
abstract |
List of consecutive points. com.navigine.idl.java.LocationPoint.
Java code snippet:
Kotlin code snippet:
|
abstract |
Returns the leading segment of the route.
Returns the portion of the route from the start up to the specified advance distance along the route. If advance exceeds the total route length, the entire route is returned.
| advance | Distance along the route (in meters). |
Java code snippet:
Kotlin code snippet:
|
abstract |
Returns the remaining segment of the route.
Returns the portion of the route starting from the specified advance distance to the end of the route. If advance is less than or equal to zero, the entire route is returned.
| advance | Distance along the route (in meters). |
Java code snippet:
Kotlin code snippet: