SITCartesianCoordinate
@interface SITCartesianCoordinate : NSObject
A structure that contains cartesian coordinate.
-
Create a cartesian coordinate
Declaration
Objective-C
- (instancetype _Nonnull)initWithX:(SITCartesianMeters)x y:(SITCartesianMeters)y;
Parameters
x
Coordinate at x-axis
y
Coordinate at y-axis
Return Value
SITCartesianCoordinate
-
Create a cartesian coordinate
Declaration
Objective-C
+ (instancetype _Nonnull)coordinateWithX:(SITCartesianMeters)x y:(SITCartesianMeters)y;
Parameters
x
Coordinate at x-axis
y
Coordinate at y-axis
Return Value
SITCartesianCoordinate
-
Coordinate at x-axis
Declaration
Objective-C
@property (assign, readwrite, nonatomic) SITCartesianMeters x;
-
Coordinate at x-axis
Declaration
Objective-C
@property (assign, readwrite, nonatomic) SITCartesianMeters y;