SITCartesianCoordinate
Objective-C
@interface SITCartesianCoordinate : NSObject <SITMapperProtocol>
Swift
class SITCartesianCoordinate : NSObject, SITMapperProtocol
A structure that contains cartesian coordinate.
-
Create a cartesian coordinate
Declaration
Objective-C
- (instancetype _Nonnull)initWithX:(SITCartesianMeters)x y:(SITCartesianMeters)y;Swift
init(x: SITCartesianMeters, y: SITCartesianMeters)Parameters
xCoordinate at x-axis
yCoordinate at y-axis
Return Value
SITCartesianCoordinate -
Create a cartesian coordinate
Declaration
Objective-C
+ (instancetype _Nonnull)coordinateWithX:(SITCartesianMeters)x y:(SITCartesianMeters)y;Parameters
xCoordinate at x-axis
yCoordinate at y-axis
Return Value
SITCartesianCoordinate
-
Coordinate at x-axis
Declaration
Objective-C
@property (nonatomic) SITCartesianMeters x;Swift
var x: SITCartesianMeters { get set } -
Coordinate at x-axis
Declaration
Objective-C
@property (nonatomic) SITCartesianMeters y;Swift
var y: SITCartesianMeters { get set }