ProjectionMGRSObject
Objective-C
@interface ProjectionMGRSObject : ProjectionObject
Swift
class ProjectionMGRSObject : ProjectionObject
This class encapsulates MGRS ( Military Grid Reference System ) projection information.
-
Initializes and returns a newly allocated object using the parameters for projection.
Declaration
Objective-C
- (nonnull instancetype)initWithEasting:(int)easting northing:(int)northing zone:(nonnull NSString *)zone letters:(nonnull NSString *)letters;
Swift
init(easting: Int32, northing: Int32, zone: String, letters: String)
-
Set the fields for projection.
Declaration
Objective-C
- (void)setEasting:(int)easting northing:(int)northing zone:(nonnull NSString *)zone letters:(nonnull NSString *)letters;
Swift
func setEasting(_ easting: Int32, northing: Int32, zone: String, letters: String)
-
Get easting for the projection.
Declaration
Objective-C
- (int)getEasting;
Swift
func getEasting() -> Int32
-
Get northing for the projection.
Declaration
Objective-C
- (int)getNorthing;
Swift
func getNorthing() -> Int32
-
Get zone for the projection.
Declaration
Objective-C
- (nonnull NSString *)getZone;
Swift
func getZone() -> String
-
Get identifier for 100.000 square meters.
Declaration
Objective-C
- (nonnull NSString *)getSq100kIdentifier;
Swift
func getSq100kIdentifier() -> String