Loading...
Searching...
No Matches
NCLocationPolygon.h
Go to the documentation of this file.
1#import "NCExport.h"
2#import "NCGlobalPoint.h"
3#import <Foundation/Foundation.h>
4
29DEFAULT_EXPORT_ATTRIBUTE
30@interface NCLocationPolygon : NSObject
31
35- (nonnull instancetype)initWithPoints:(nonnull NSArray<NCGlobalPoint *> *)points
36 sublocationId:(nullable NSNumber *)sublocationId
37 innerRings:(nonnull NSArray<NSArray<NCGlobalPoint *> *> *)innerRings;
38
42+ (nonnull instancetype)locationPolygonWithPoints:(nonnull NSArray<NCGlobalPoint *> *)points
43 sublocationId:(nullable NSNumber *)sublocationId
44 innerRings:(nonnull NSArray<NSArray<NCGlobalPoint *> *> *)innerRings;
45
51@property (nonatomic, readonly, nonnull) NSArray<NCGlobalPoint *> * points;
52
58@property (nonatomic, readonly, nullable) NSNumber * sublocationId;
59
66@property (nonatomic, readonly, nonnull) NSArray<NSArray<NCGlobalPoint *> *> * innerRings;
67
68@end