CRSOperation
Common Operation
-
Operation Version
Declaration
Objective-C
@property (nonatomic, strong) NSString *version;
Swift
var version: String! { get set }
-
Source Coordinate Reference System
Declaration
Objective-C
@property (nonatomic, strong) CRSCoordinateReferenceSystem *source;
Swift
var source: CRSCoordinateReferenceSystem! { get set }
-
Coordinate operation accuracy
Declaration
Objective-C
@property (nonatomic, strong) NSDecimalNumber *accuracy;
Swift
var accuracy: NSDecimalNumber! { get set }
-
Coordinate operation accuracy Text
Declaration
Objective-C
@property (nonatomic, strong) NSString *accuracyText;
Swift
var accuracyText: String! { get set }
-
Initialize
Parameters
type
crs operation type
Return Value
new instance
-
Initialize
Declaration
Objective-C
- (instancetype)initWithName:(NSString *)name andType:(enum CRSType)type andSource:(CRSCoordinateReferenceSystem *)source;
Swift
init!(name: String!, andType type: CRSType, andSource source: CRSCoordinateReferenceSystem!)
Parameters
name
name
type
crs operation type
source
source crs
Return Value
new instance
-
Has an operation version
Declaration
Objective-C
- (BOOL)hasVersion;
Swift
func hasVersion() -> Bool
Return Value
true if has operation version
-
Has a coordinate operation accuracy
Declaration
Objective-C
- (BOOL)hasAccuracy;
Swift
func hasAccuracy() -> Bool
Return Value
true if has coordinate operation accuracy