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
typeellipsoid 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
namename or short name
Return Value
ellipsoid or nil
-
Get the type
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() -> DoubleReturn Value
equator radius
-
Get the reciprocal flattening
Declaration
Objective-C
- (double)reciprocalFlattening;Swift
func reciprocalFlattening() -> DoubleReturn Value
reciprocal flattening
-
Get the a
Declaration
Objective-C
- (double)a;Swift
func a() -> DoubleReturn Value
a
-
Get the b
Declaration
Objective-C
- (double)b;Swift
func b() -> DoubleReturn Value
b
-
Get the eccentricity squared
Declaration
Objective-C
- (double)eccentricitySquared;Swift
func eccentricitySquared() -> DoubleReturn Value
eccentricity squared
View on GitHub
CRSEllipsoids Class Reference