CRSEllipsoid
Objective-C
@interface CRSEllipsoid : NSObject <CRSIdentifiable>
Swift
class CRSEllipsoid : NSObject, CRSIdentifiable
Ellipsoid
-
Name
Declaration
Objective-C
@property (nonatomic, strong) NSString *name;
Swift
var name: String! { get set }
-
Semi Major Axis
Declaration
Objective-C
@property (nonatomic) double semiMajorAxis;
Swift
var semiMajorAxis: Double { get set }
-
Semi Major Axis Text
Declaration
Objective-C
@property (nonatomic, strong) NSString *semiMajorAxisText;
Swift
var semiMajorAxisText: String! { get set }
-
Inverse Flattening
Declaration
Objective-C
@property (nonatomic) double inverseFlattening;
Swift
var inverseFlattening: Double { get set }
-
Inverse Flattening Text
Declaration
Objective-C
@property (nonatomic, strong) NSString *inverseFlatteningText;
Swift
var inverseFlatteningText: String! { get set }
-
Identifiers
Declaration
Objective-C
@property (nonatomic, strong) NSMutableArray<CRSIdentifier *> *identifiers;
Swift
var identifiers: NSMutableArray! { get set }
-
Create
Declaration
Objective-C
+ (CRSEllipsoid *)create;
Swift
class func create() -> CRSEllipsoid!
Return Value
new instance
-
Initialize
Declaration
Objective-C
- (instancetype)init;
Swift
init!()
Return Value
new instance
-
Initialize
Declaration
Objective-C
- (instancetype)initWithName:(NSString *)name andSemiMajorAxis:(double)semiMajorAxis andInverseFlattening:(double)inverseFlattening;
Swift
init!(name: String!, andSemiMajorAxis semiMajorAxis: Double, andInverseFlattening inverseFlattening: Double)
Parameters
name
name
semiMajorAxis
semi major axis
inverseFlattening
inverse flattening
Return Value
new instance
-
Initialize
Declaration
Objective-C
- (instancetype)initWithName:(NSString *)name andSemiMajorAxisText:(NSString *)semiMajorAxis andInverseFlatteningText:(NSString *)inverseFlattening;
Swift
init!(name: String!, andSemiMajorAxisText semiMajorAxis: String!, andInverseFlatteningText inverseFlattening: String!)
Parameters
name
name
semiMajorAxis
semi major axis
inverseFlattening
inverse flattening
Return Value
new instance
-
Get the Ellipsoid Type
Return Value
ellipsoid type
-
Has a unit (length)
Declaration
Objective-C
- (BOOL)hasUnit;
Swift
func hasUnit() -> Bool
Return Value
true if has unit (length)
-
Get the pole radius
Declaration
Objective-C
- (double)poleRadius;
Swift
func poleRadius() -> Double
Return Value
pole radius
-
Get the pole radius as text
Declaration
Objective-C
- (NSString *)poleRadiusText;
Swift
func poleRadiusText() -> String!
Return Value
pole radius