MMKSegment
@interface MMKSegment : NSObject |
A line between two points.
Summary
Class methods
+ (nonnull MMKSegment *)segmentWithStartPoint:(nonnull MMKPoint *)startPoint |
Properties
@property (nonatomic, readonly, nonnull) MMKPoint *startPoint; |
@property (nonatomic, readonly, nonnull) MMKPoint *endPoint; |
Class methods
segmentWithStartPoint:endPoint:
+ (nonnull MMKSegment *)segmentWithStartPoint:(nonnull MMKPoint *)startPoint |
Properties
startPoint
@property (nonatomic, readonly, nonnull) MMKPoint *startPoint; |
Starting point of the segment.
endPoint
@property (nonatomic, readonly, nonnull) MMKPoint *endPoint; |
End point of the segment.