Class is used for storing the route path between two points in location. More...
Inherits Finalizable.
Public Member Functions | |
| RoutePath | head (double advance) |
| Returns the leading segment of the route up to advance meters. | |
| RoutePath | tail (double advance) |
| Returns the route segment after advance meters. | |
| List< RouteNode > | nodes () |
| Returns route nodes with points and events. | |
Public Attributes | |
| double get | length |
| Total route length in meters. | |
| double get | weight |
| Total route weight/cost. | |
Class is used for storing the route path between two points in location.
Referenced from: AsyncRouteListener, AsyncRouteManager, Location, RouteListener, RouteManager
Definition at line 20 of file route_path.dart.
| RoutePath RoutePath.head | ( | double | advance | ) |
Returns the leading segment of the route up to advance meters.
| advance | distance along route (meters). |
Dart code snippet:
| List< RouteNode > RoutePath.nodes | ( | ) |
Returns route nodes with points and events.
Dart code snippet:
| RoutePath RoutePath.tail | ( | double | advance | ) |
Returns the route segment after advance meters.
| advance | distance along route (meters). |
Dart code snippet:
| double get RoutePath.length |
| double get RoutePath.weight |