YMKSegment

@interface YMKSegment : NSObject

A line between two points.

Summary

Class methods

+ (nonnull YMKSegment *)segmentWithStartPoint:(nonnull YMKPoint *)startPoint
                                     endPoint:(nonnull YMKPoint *)endPoint;

Properties

@property (nonatomic, readonly, nonnull) YMKPoint *startPoint;
Starting point of the segment

@property (nonatomic, readonly, nonnull) YMKPoint *endPoint;
End point of the segment

Class methods

segmentWithStartPoint:endPoint:

+ (nonnull YMKSegment *)segmentWithStartPoint:(nonnull YMKPoint *)startPoint
                                     endPoint:(nonnull YMKPoint *)endPoint;


Properties

startPoint

@property (nonatomic, readonly, nonnull) YMKPoint *startPoint;

Starting point of the segment.


endPoint

@property (nonatomic, readonly, nonnull) YMKPoint *endPoint;

End point of the segment.


Предыдущая
Следующая