NMGSegment


@interface NMGSegment<__covariant PointType> : NSObject <NMGGeometry>

두 점의 집합. PointType에 따라 Point, LatLng로 동작합니다.

  • 시작점.

    Declaration

    Objective-C

    @property (nonatomic, nullable) id<NMGPointable> from;

    Swift

    var from: NMGPointable? { get set }
  • to

    끝점.

    Declaration

    Objective-C

    @property (nonatomic, nullable) id<NMGPointable> to;

    Swift

    var to: NMGPointable? { get set }