MMKPolygon

@interface MMKPolygon : NSObject

A polygon with one or more polygons in it. The exterior and interior areas are specified using LinearRing.

Summary

Class methods

+ (nonnull MMKPolygon *)polygonWithOuterRing:(nonnull MMKLinearRing *)outerRing
                                  innerRings:(nonnull NSArray<MMKLinearRing *> *)innerRings;

Properties

@property (nonatomic, readonly, nonnull) MMKLinearRing *outerRing;
The ring specifying the area

@property (nonatomic, readonly, nonnull) NSArray<MMKLinearRing *> *innerRings;
The list of rings in the specified area

Class methods

polygonWithOuterRing:innerRings:

+ (nonnull MMKPolygon *)polygonWithOuterRing:(nonnull MMKLinearRing *)outerRing
                                  innerRings:(nonnull NSArray<MMKLinearRing *> *)innerRings;


Properties

outerRing

@property (nonatomic, readonly, nonnull) MMKLinearRing *outerRing;

The ring specifying the area.


innerRings

@property (nonatomic, readonly, nonnull) NSArray<MMKLinearRing *> *innerRings;

The list of rings in the specified area.