CRSEllipsoids

Objective-C

@interface CRSEllipsoids : NSObject

Swift

class CRSEllipsoids : NSObject

Ellipsoids

  • Get a predefined ellipsoid by type

    Declaration

    Objective-C

    + (CRSEllipsoids *)fromType:(enum CRSEllipsoidsType)type;

    Swift

    class func fromType(_ type: CRSEllipsoidsType) -> CRSEllipsoids!

    Parameters

    type

    ellipsoid type

    Return Value

    ellipsoid

  • Get a predefined ellipsoid by name or short name

    Declaration

    Objective-C

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

    Swift

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

    Parameters

    name

    name or short name

    Return Value

    ellipsoid or nil

  • Get the type

    Declaration

    Objective-C

    - (enum CRSEllipsoidsType)type;

    Swift

    func type() -> CRSEllipsoidsType

    Return Value

    type

  • 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 short name

    Declaration

    Objective-C

    - (NSString *)shortName;

    Swift

    func shortName() -> String!

    Return Value

    short name

  • Get the equator radius

    Declaration

    Objective-C

    - (double)equatorRadius;

    Swift

    func equatorRadius() -> Double

    Return Value

    equator radius

  • Get the reciprocal flattening

    Declaration

    Objective-C

    - (double)reciprocalFlattening;

    Swift

    func reciprocalFlattening() -> Double

    Return Value

    reciprocal flattening

  • -a

    Get the a

    Declaration

    Objective-C

    - (double)a;

    Swift

    func a() -> Double

    Return Value

    a

  • -b

    Get the b

    Declaration

    Objective-C

    - (double)b;

    Swift

    func b() -> Double

    Return Value

    b

  • Get the eccentricity squared

    Declaration

    Objective-C

    - (double)eccentricitySquared;

    Swift

    func eccentricitySquared() -> Double

    Return Value

    eccentricity squared