SFMultiSurface
Objective-C
@interface SFMultiSurface : SFGeometryCollection
Swift
class SFMultiSurface : SFGeometryCollection
A restricted form of GeometryCollection where each Geometry in the collection must be of type Surface.
-
Initialize
Declaration
Objective-C
- (instancetype)initWithType:(enum SFGeometryType)geometryType andHasZ:(BOOL)hasZ andHasM:(BOOL)hasM;
Swift
init!(type geometryType: SFGeometryType, andHasZ hasZ: Bool, andHasM hasM: Bool)
Parameters
geometryType
geometry type
hasZ
has z values
hasM
has m values
Return Value
new multi surface
-
Get the surfaces
Declaration
Objective-C
- (NSMutableArray<SFSurface *> *)surfaces;
Swift
func surfaces() -> NSMutableArray!
Return Value
surfaces
-
Set the surfaces
Declaration
Objective-C
- (void)setSurfaces:(NSMutableArray<SFSurface *> *)surfaces;
Swift
func setSurfaces(_ surfaces: NSMutableArray!)
Parameters
surfaces
surfaces
-
Get the number of surfaces
Declaration
Objective-C
- (int)numSurfaces;
Swift
func numSurfaces() -> Int32
Return Value
surface count