MaplyCoordinate3dWrapper
Objective-C
@interface MaplyCoordinate3dWrapper : NSObject
Swift
class MaplyCoordinate3dWrapper : NSObject
An NSObject based wrapper for 3D coordinates.
This wrapper encapsulates a MaplyCoordinate3d so we can pass them around in NSDictionary objects.
-
Initialize with a 3D coordinate
Declaration
Objective-C
- (instancetype)initWithCoord:(MaplyCoordinate3d)coord;
Swift
init!(coord: MaplyCoordinate3d)
-
3D coordinate
Declaration
Objective-C
@property (nonatomic, readonly) MaplyCoordinate3d coord;
Swift
var coord: MaplyCoordinate3d { get }