SFMultiPolygon
Objective-C
@interface SFMultiPolygon : SFMultiSurface
                Swift
class SFMultiPolygon : SFMultiSurface
                A restricted form of MultiSurface where each Surface in the collection must be of type Polygon.
- 
                  
                  
Create
Declaration
Objective-C
+ (SFMultiPolygon *)multiPolygon;Return Value
new multi polygon
 - 
                  
                  
Create
Declaration
Objective-C
+ (SFMultiPolygon *)multiPolygonWithHasZ:(BOOL)hasZ andHasM:(BOOL)hasM;Parameters
hasZhas z values
hasMhas m values
Return Value
new multi polygon
 - 
                  
                  
Create
Declaration
Objective-C
+ (SFMultiPolygon *)multiPolygonWithPolygons: (NSMutableArray<SFPolygon *> *)polygons;Parameters
polygonslist of polygons
Return Value
new multi polygon
 - 
                  
                  
Create
Declaration
Objective-C
+ (SFMultiPolygon *)multiPolygonWithPolygon:(SFPolygon *)polygon;Parameters
polygonpolygon
Return Value
new multi polygon
 - 
                  
                  
Create
Declaration
Objective-C
+ (SFMultiPolygon *)multiPolygonWithMultiPolygon:(SFMultiPolygon *)multiPolygon;Parameters
multiPolygonmulti polygon
Return Value
new multi polygon
 - 
                  
                  
Initialize
Declaration
Objective-C
- (instancetype)init;Swift
init!()Return Value
new multi polygon
 - 
                  
                  
Initialize
Declaration
Objective-C
- (instancetype)initWithHasZ:(BOOL)hasZ andHasM:(BOOL)hasM;Swift
init!(hasZ: Bool, andHasM hasM: Bool)Parameters
hasZhas z values
hasMhas m values
Return Value
new multi polygon
 - 
                  
                  
Initialize
Declaration
Objective-C
- (instancetype)initWithPolygons:(NSMutableArray<SFPolygon *> *)polygons;Swift
init!(polygons: NSMutableArray!)Parameters
polygonslist of polygons
Return Value
new multi polygon
 - 
                  
                  
Initialize
Declaration
Objective-C
- (instancetype)initWithMultiPolygon:(SFMultiPolygon *)multiPolygon;Swift
init!(multiPolygon: SFMultiPolygon!)Parameters
multiPolygonmulti polygon
Return Value
new multi polygon
 - 
                  
                  
Get the polygons
Declaration
Objective-C
- (NSMutableArray<SFPolygon *> *)polygons;Swift
func polygons() -> NSMutableArray!Return Value
polygons
 - 
                  
                  
Set the polygons
Declaration
Objective-C
- (void)setPolygons:(NSMutableArray<SFPolygon *> *)polygons;Swift
func setPolygons(_ polygons: NSMutableArray!)Parameters
polygonspolygons
 - 
                  
                  
Get the number of polygons
Declaration
Objective-C
- (int)numPolygons;Swift
func numPolygons() -> Int32Return Value
polygon count
 
View on GitHub
        SFMultiPolygon Class Reference