NMGTm128


@interface NMGTm128 : NSObject <NMGPointable>

TM-128 좌표를 표현하는 클래스.

  • x

    x 좌표.

    Declaration

    Objective-C

    @property (nonatomic, readonly) double x;

    Swift

    var x: Double { get }
  • y

    y 좌표.

    Declaration

    Objective-C

    @property (nonatomic, readonly) double y;

    Swift

    var y: Double { get }
  • UTM-K 좌표로 나타낼 수 있는 범위를 리턴합니다. southWest(33.96, 124.0) northEast(38.33, 132.0)

    Declaration

    Objective-C

    + (nonnull NMGLatLngBounds *)coverage;

    Swift

    class func coverage() -> NMGLatLngBounds

    Return Value

    NMGLatLngBounds 객체

  • 지정한 위치에 대한 좌표를 생성합니다.

    Declaration

    Objective-C

    + (nonnull instancetype)tm128;

    Return Value

    NMGUtmk 객체

  • 지정한 위치에 대한 좌표를 생성합니다.

    Declaration

    Objective-C

    + (nonnull instancetype)tm128WithX:(double)x y:(double)y;

    Swift

    convenience init(x: Double, y: Double)

    Parameters

    x

    좌표

    y

    좌표

    Return Value

    NMGTm128 객체

  • 위경도 좌표를 UTM-K 좌표로 변환합니다.

    Declaration

    Objective-C

    + (nonnull instancetype)tm128FromLatLng:(nonnull NMGLatLng *)latLng;

    Swift

    convenience init(from latLng: NMGLatLng)

    Parameters

    latLng

    위경도 좌표

    Return Value

    NMGTm128 객체

  • 좌표를 위경도 좌표로 변환합니다.

    Declaration

    Objective-C

    - (nonnull NMGLatLng *)toLatLng;

    Swift

    func toLatLng() -> NMGLatLng

    Return Value

    변환된 위경도 좌표.

  • 좌표가 좌표계의 커버리지 내에 포함되는지 여부를 반환합니다. 커버리지를 벗어날 경우 좌표 연산의 정확도가 보장되지 않습니다.

    Declaration

    Objective-C

    - (BOOL)isWithinCoverage;

    Swift

    func isWithinCoverage() -> Bool

    Return Value

    커버리지 내일 경우 YES, 그렇지 않을 경우 NO.