MMKLinearRing

@interface MMKLinearRing : NSObject

A sequence of four or more vertices, with all points along the linearly-interpolated curves (line segments) between each pair of consecutive vertices. A ring must have either 0, 4 or more points. The first and last points of the ring must be in the same position. The ring must not intersect with itself.

Summary

Class methods

+ (nonnull MMKLinearRing *)linearRingWithPoints:(nonnull NSArray<MMKPoint *> *)points;

Properties

@property (nonatomic, readonly, nonnull) NSArray<MMKPoint *> *points;
The list of points to connect

Class methods

linearRingWithPoints:

+ (nonnull MMKLinearRing *)linearRingWithPoints:(nonnull NSArray<MMKPoint *> *)points;


Properties

points

@property (nonatomic, readonly, nonnull) NSArray<MMKPoint *> *points;

The list of points to connect.