Class describing one node of the evaluated route. More...
#include <com/navigine/idl/objc/NCRouteNode.h>
Inherits NSObject.
Instance Methods | |
| (nonnull instancetype) | - initWithPoint:weight:distance:events: |
| Default constructor for class NCRouteNode. | |
Class Methods | |
| (nonnull instancetype) | + routeNodeWithPoint:weight:distance:events: |
| Factory method for class NCRouteNode. | |
Properties | |
| NCLocationPoint * | point |
| Location point of this node. | |
| float | weight |
| Route cost/weight value at this node. | |
| float | distance |
| Distance from route start to this node (meters). | |
| NSArray< NCRouteEvent * > * | events |
| Events associated with this node. | |
Class describing one node of the evaluated route.
Referenced from RoutePath.
Definition at line 19 of file NCRouteNode.h.
| - (nonnull instancetype) initWithPoint: | (nonnull NCLocationPoint *) | point | |
| weight: | (float) | weight | |
| distance: | (float) | distance | |
| events: | (nonnull NSArray< NCRouteEvent * > *) | events |
Default constructor for class NCRouteNode.
| + (nonnull instancetype) routeNodeWithPoint: | (nonnull NCLocationPoint *) | point | |
| weight: | (float) | weight | |
| distance: | (float) | distance | |
| events: | (nonnull NSArray< NCRouteEvent * > *) | events |
Factory method for class NCRouteNode.
|
readnonatomicassign |
Distance from route start to this node (meters).
Swift code snippet:
Objective C code snippet:
Definition at line 80 of file NCRouteNode.h.
|
readnonatomicassign |
Events associated with this node.
Swift code snippet:
Objective C code snippet:
Definition at line 95 of file NCRouteNode.h.
|
readnonatomicassign |
Location point of this node.
Swift code snippet:
Objective C code snippet:
Definition at line 50 of file NCRouteNode.h.
|
readnonatomicassign |
Route cost/weight value at this node.
Swift code snippet:
Objective C code snippet:
Definition at line 65 of file NCRouteNode.h.