Loading...
Searching...
No Matches
NCRouteNode.h
Go to the documentation of this file.
1#import "NCExport.h"
2#import "NCLocationPoint.h"
3#import "NCRouteEvent.h"
4#import <Foundation/Foundation.h>
5
18DEFAULT_EXPORT_ATTRIBUTE
19@interface NCRouteNode : NSObject
20
24- (nonnull instancetype)initWithPoint:(nonnull NCLocationPoint *)point
25 weight:(float)weight
26 distance:(float)distance
27 events:(nonnull NSArray<NCRouteEvent *> *)events;
28
32+ (nonnull instancetype)routeNodeWithPoint:(nonnull NCLocationPoint *)point
33 weight:(float)weight
34 distance:(float)distance
35 events:(nonnull NSArray<NCRouteEvent *> *)events;
36
50@property (nonatomic, readonly, nonnull) NCLocationPoint * point;
51
65@property (nonatomic, readonly) float weight;
66
80@property (nonatomic, readonly) float distance;
81
95@property (nonatomic, readonly, nonnull) NSArray<NCRouteEvent *> * events;
96
97@end