CRSGeoDatums

Objective-C

@interface CRSGeoDatums : NSObject

Swift

class CRSGeoDatums : NSObject

Geo Datums

  • Get a predefined geo datum by type

    Declaration

    Objective-C

    + (CRSGeoDatums *)fromType:(enum CRSGeoDatumType)type;

    Swift

    class func fromType(_ type: CRSGeoDatumType) -> CRSGeoDatums!

    Parameters

    type

    geo datum type

    Return Value

    geo datum

  • Get a predefined geo datum by name

    Declaration

    Objective-C

    + (CRSGeoDatums *)fromName:(NSString *)name;

    Swift

    class func fromName(_ name: String!) -> CRSGeoDatums!

    Parameters

    name

    name

    Return Value

    geo datum or nil

  • Get the type

    Declaration

    Objective-C

    - (enum CRSGeoDatumType)type;

    Swift

    func type() -> CRSGeoDatumType

    Return Value

    type

  • Get the code

    Declaration

    Objective-C

    - (NSString *)code;

    Swift

    func code() -> String!

    Return Value

    code

  • Get the name

    Declaration

    Objective-C

    - (NSString *)name;

    Swift

    func name() -> String!

    Return Value

    name

  • Get the names

    Declaration

    Objective-C

    - (NSArray<NSString *> *)names;

    Swift

    func names() -> [String]!

    Return Value

    names

  • Get the transform

    Declaration

    Objective-C

    - (NSArray<NSDecimalNumber *> *)transform;

    Swift

    func transform() -> [NSDecimalNumber]!

    Return Value

    transform

  • Get the ellipsoid

    Declaration

    Objective-C

    - (CRSEllipsoids *)ellipsoid;

    Swift

    func ellipsoid() -> CRSEllipsoids!

    Return Value

    ellipsoid