CRSPrimeMeridians

Objective-C

@interface CRSPrimeMeridians : NSObject

Swift

class CRSPrimeMeridians : NSObject

Prime Meridians

  • Get a prime meridian by type

    Declaration

    Objective-C

    + (CRSPrimeMeridians *)fromType:(enum CRSPrimeMeridianType)type;

    Swift

    class func fromType(_ type: CRSPrimeMeridianType) -> CRSPrimeMeridians!

    Parameters

    type

    prime meridian type

    Return Value

    prime meridian

  • Get a prime meridian by name

    Declaration

    Objective-C

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

    Swift

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

    Parameters

    name

    name

    Return Value

    prime meridian or nil

  • Get the type

    Declaration

    Objective-C

    - (enum CRSPrimeMeridianType)type;

    Swift

    func type() -> CRSPrimeMeridianType

    Return Value

    type

  • Get the name

    Declaration

    Objective-C

    - (NSString *)name;

    Swift

    func name() -> String!

    Return Value

    name

  • Get the offset from greenwich in radians

    Declaration

    Objective-C

    - (double)offsetFromGreenwich;

    Swift

    func offsetFromGreenwich() -> Double

    Return Value

    offset longitude in radians

  • Get the offset from greenwich in degrees

    Declaration

    Objective-C

    - (double)offsetFromGreenwichDegrees;

    Swift

    func offsetFromGreenwichDegrees() -> Double

    Return Value

    offset longitude in degrees