ProjectionGKObject

Objective-C


@interface ProjectionGKObject : ProjectionObject

Swift

class ProjectionGKObject

This class encapsulates GK projection information.

  • Initializes and returns a newly allocated object using the parameters for projection.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithX:(double)x y:(double)y zone:(unsigned int)zone;

    Swift

    init!(x: Double, y: Double, zone: UInt32)
  • Set the fields for projection.

    Declaration

    Objective-C

    - (void)setX:(double)x setY:(double)y zone:(unsigned int)zone;

    Swift

    func setX(_ x: Double, setY y: Double, zone: UInt32)
  • Get easting for the projection.

    Declaration

    Objective-C

    - (double)getEasting;

    Swift

    func getEasting() -> Double
  • Get northing for the projection.

    Declaration

    Objective-C

    - (double)getNorthing;

    Swift

    func getNorthing() -> Double
  • Get zone for the projection.

    Declaration

    Objective-C

    - (int)getZone;

    Swift

    func getZone() -> Int32