SITDimensions
Objective-C
@interface SITDimensions : NSObject <SITMapperProtocol>
Swift
class SITDimensions : NSObject, SITMapperProtocol
Define 2D dimensions of a rectangular area.
-
Initializer
Declaration
Objective-C
- (instancetype)initWithWidth:(SITCartesianMeters)width height:(SITCartesianMeters)height;
Swift
init!(width: SITCartesianMeters, height: SITCartesianMeters)
Parameters
width
Width in meters
height
Height in meters
-
Width in meters
Declaration
Objective-C
@property (nonatomic, readonly) SITCartesianMeters width;
Swift
var width: SITCartesianMeters { get }
-
height in meters
Declaration
Objective-C
@property (nonatomic, readonly) SITCartesianMeters height;
Swift
var height: SITCartesianMeters { get }