class is used for storing the route path between the two points on the location. More...
#include <com/navigine/idl/objc/NCRoutePath.h>
Inherits NSObject.
Instance Methods | |
(nullable NCRoutePath *) | - head: |
Returns the leading segment of the route. | |
(nullable NCRoutePath *) | - tail: |
Returns the remaining segment of the route. | |
Properties | |
float | length |
Total lenth of the route path in meters. | |
NSArray< NCRouteEvent * > * | events |
List of consecutive incoming events RouteEvent. | |
NSArray< NCLocationPoint * > * | points |
List of consecutive points. NCLocationPoint. | |
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 23 of file NCRoutePath.h.
- (nullable NCRoutePath *) head: | (float) | advance |
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). |
- (nullable NCRoutePath *) tail: | (float) | advance |
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). |
|
readnonatomicassign |
List of consecutive incoming events RouteEvent.
Definition at line 59 of file NCRoutePath.h.
|
readnonatomicassign |
Total lenth of the route path in meters.
Definition at line 54 of file NCRoutePath.h.
|
readnonatomicassign |
List of consecutive points. NCLocationPoint.
Definition at line 66 of file NCRoutePath.h.