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
54@property (nonatomic, readonly, nonnull) NCGlobalPoint * point;
55
68@property (nonatomic, readonly) double accuracy;
69
88@property (nonatomic, readonly, nullable) NSNumber * heading;
89
102@property (nonatomic, readonly, nullable) NSNumber * headingAccuracy;
103
116@property (nonatomic, readonly, nullable) NCLocationPoint * locationPoint;
117
130@property (nonatomic, readonly, nullable) NSNumber * locationHeading;
131
132@end