Class is used for storing the route path between two points in location. More...
#include <com/navigine/idl/objc/NCRoutePath.h>
Inherits NSObject.
Instance Methods | |
| (nullable NCRoutePath *) | - head: |
| Returns the leading segment of the route up to advance meters. | |
| (nullable NCRoutePath *) | - tail: |
| Returns the route segment after advance meters. | |
| (nonnull NSArray< NCRouteNode * > *) | - nodes |
| Returns route nodes with points and events. | |
Properties | |
| float | length |
| Total route length in meters. | |
| float | 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 NCRoutePath.h.
| - (nullable NCRoutePath *) head: | (float) | advance |
Returns the leading segment of the route up to advance meters.
| advance | distance along route (meters). |
Swift code snippet:
Objective C code snippet:
| - (nonnull NSArray< NCRouteNode * > *) nodes |
Returns route nodes with points and events.
Swift code snippet:
Objective C code snippet:
| - (nullable NCRoutePath *) tail: | (float) | advance |
Returns the route segment after advance meters.
| advance | distance along route (meters). |
Swift code snippet:
Objective C code snippet:
|
readnonatomicassign |
Total route length in meters.
Swift code snippet:
Objective C code snippet:
Definition at line 84 of file NCRoutePath.h.
|
readnonatomicassign |
Total route weight/cost.
Swift code snippet:
Objective C code snippet:
Definition at line 99 of file NCRoutePath.h.