CRSObject
Objective-C
@interface CRSObject : NSObject <CRSScopeExtentIdentifierRemark>
Swift
class CRSObject : NSObject, CRSScopeExtentIdentifierRemark
Well-known text representation of coordinate reference systems object
-
Temporary extras that are not included as part of the CRS definition. Not included in equality and hashing.
Declaration
Objective-C
@property (nonatomic, strong) NSMutableDictionary<NSString *, NSObject *> *extras;Swift
var extras: NSMutableDictionary! { get set } -
Initialize
Declaration
Objective-C
- (instancetype)init;Swift
init!()Return Value
new instance
-
Initialize
Parameters
typecoordinate reference system type
Return Value
new instance
-
Get the category type
Declaration
Objective-C
- (enum CRSCategoryType)categoryType;Swift
func categoryType() -> CRSCategoryTypeReturn Value
category type
-
Determine if there are temporary extras that are not part of the CRS definition
Declaration
Objective-C
- (BOOL)hasExtras;Swift
func hasExtras() -> BoolReturn Value
true if extras
-
Get the number of temporary extras that are not part of the CRS definition
Declaration
Objective-C
- (int)numExtras;Swift
func numExtras() -> Int32Return Value
number of extras
-
Get the temporary extra with the name
Declaration
Objective-C
- (NSObject *)extraWithName:(NSString *)name;Swift
func extra(withName name: String!) -> NSObject!Parameters
nameextra name
Return Value
extra value or null
-
Add the temporary extra which is not part of the CRS definition
Declaration
Objective-C
- (void)addExtra:(NSObject *)extra withName:(NSString *)name;Swift
func addExtra(_ extra: NSObject!, withName name: String!)Parameters
nameextra name
extraextra value
-
Add the temporary extras which are not part of the CRS definition
Declaration
Objective-C
- (void)addExtras:(NSMutableDictionary<NSString *, NSObject *> *)extras;Swift
func addExtras(_ extras: NSMutableDictionary!)Parameters
extrasextra values
View on GitHub
CRSObject Class Reference