Loading...
Searching...
No Matches
NCPosition.h
Go to the documentation of this file.
1#import "NCExport.h"
2#import "NCGlobalPoint.h"
3#import "NCLocationPoint.h"
4#import <Foundation/Foundation.h>
5
19DEFAULT_EXPORT_ATTRIBUTE
20@interface NCPosition : NSObject
21
25- (nonnull instancetype)initWithPoint:(nonnull NCGlobalPoint *)point
26 accuracy:(double)accuracy
27 heading:(nullable NSNumber *)heading
28 headingAccuracy:(nullable NSNumber *)headingAccuracy
29 locationPoint:(nullable NCLocationPoint *)locationPoint
30 locationHeading:(nullable NSNumber *)locationHeading;
31
35+ (nonnull instancetype)positionWithPoint:(nonnull NCGlobalPoint *)point
36 accuracy:(double)accuracy
37 heading:(nullable NSNumber *)heading
38 headingAccuracy:(nullable NSNumber *)headingAccuracy
39 locationPoint:(nullable NCLocationPoint *)locationPoint
40 locationHeading:(nullable NSNumber *)locationHeading;
41
45@property (nonatomic, readonly, nonnull) NCGlobalPoint * point;
46
50@property (nonatomic, readonly) double accuracy;
51
61@property (nonatomic, readonly, nullable) NSNumber * heading;
62
66@property (nonatomic, readonly, nullable) NSNumber * headingAccuracy;
67
71@property (nonatomic, readonly, nullable) NCLocationPoint * locationPoint;
72
76@property (nonatomic, readonly, nullable) NSNumber * locationHeading;
77
78@end