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 |
Properties
@property (nonatomic, readonly, nonnull) MMKLinearRing *outerRing; |
@property (nonatomic, readonly, nonnull) NSArray<MMKLinearRing *> *innerRings; |
Class methods
polygonWithOuterRing:innerRings:
+ (nonnull MMKPolygon *)polygonWithOuterRing:(nonnull MMKLinearRing *)outerRing |
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.