CRSGeoDatum
Objective-C
@protocol CRSGeoDatum <CRSIdentifiable>
Swift
protocol CRSGeoDatum : CRSIdentifiable
Common Operation interface
-
Get the datum name
Declaration
Objective-C
- (NSString *)name;
Swift
func name() -> String!
Return Value
datum name
-
Set the datum name
Declaration
Objective-C
- (void)setName:(NSString *)name;
Swift
func setName(_ name: String!)
Parameters
name
datum name
-
Get the ellipsoid
Return Value
ellipsoid
-
Set the ellipsoid
Declaration
Objective-C
- (void)setEllipsoid:(CRSEllipsoid *)ellipsoid;
Swift
func setEllipsoid(_ ellipsoid: CRSEllipsoid!)
Parameters
ellipsoid
ellipsoid
-
Get the prime meridian
Declaration
Objective-C
- (CRSPrimeMeridian *)primeMeridian;
Swift
func primeMeridian() -> CRSPrimeMeridian!
Return Value
prime meridian
-
Has a prime meridian
Declaration
Objective-C
- (BOOL)hasPrimeMeridian;
Swift
func hasPrimeMeridian() -> Bool
Return Value
true if has prime meridian
-
Set the prime meridian
Declaration
Objective-C
- (void)setPrimeMeridian:(CRSPrimeMeridian *)primeMeridian;
Swift
func setPrimeMeridian(_ primeMeridian: CRSPrimeMeridian!)
Parameters
primeMeridian
prime meridian