YMKLinearRing

@interface YMKLinearRing : 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 YMKLinearRing *)linearRingWithPoints:(nonnull NSArray<YMKPoint *> *)points;

Properties

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

Class methods

linearRingWithPoints:

+ (nonnull YMKLinearRing *)linearRingWithPoints:(nonnull NSArray<YMKPoint *> *)points;


Properties

points

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

The list of points to connect.