INVUtmk

Objective-C


@interface INVUtmk : NSObject

Swift

class INVUtmk : NSObject

UTMK 좌표를 나타내는 클래스.

  • 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 }
  • 특정 위치에 대한 UTMK 좌표를 생성합니다.

    Declaration

    Objective-C

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

    Swift

    convenience init(x: Double, y: Double)

    Parameters

    x

    좌표.

    y

    좌표.

    Return Value

    INVUtmk 객체.

  • 위경도 좌표로 UTMK 좌표를 생성합니다.

    Declaration

    Objective-C

    + (nonnull instancetype)utmkWithLatLng:(nonnull INVLatLng *)latLng;

    Swift

    convenience init(latLng: INVLatLng)

    Parameters

    latLng

    변환할 위경도 좌표.

    Return Value

    INVUtmk 객체.

  • UTMK 좌표를 위경도 INVLatLng 객체로 변환합니다.

    Declaration

    Objective-C

    - (nonnull INVLatLng *)toLatLng;

    Swift

    func toLatLng() -> INVLatLng

    Return Value

    변환된 위경도 좌표.