SFPolyhedralSurface
Contiguous collection of polygons which share common boundary segments.
-
Array of polygons
Declaration
Objective-C
@property (nonatomic, strong) NSMutableArray<SFPolygon *> *polygons;Swift
var polygons: NSMutableArray! { get set } -
Create
Declaration
Objective-C
+ (SFPolyhedralSurface *)polyhedralSurface;Return Value
new polyhedral surface
-
Create
Declaration
Objective-C
+ (SFPolyhedralSurface *)polyhedralSurfaceWithHasZ:(BOOL)hasZ andHasM:(BOOL)hasM;Parameters
hasZhas z values
hasMhas m values
Return Value
new polyhedral surface
-
Create
Declaration
Objective-C
+ (SFPolyhedralSurface *)polyhedralSurfaceWithPolygons: (NSMutableArray<SFPolygon *> *)polygons;Parameters
polygonslist of polygons
Return Value
new polyhedral surface
-
Create
Declaration
Objective-C
+ (SFPolyhedralSurface *)polyhedralSurfaceWithPolygon:(SFPolygon *)polygon;Parameters
polygonpolygon
Return Value
new polyhedral surface
-
Create
Declaration
Objective-C
+ (SFPolyhedralSurface *)polyhedralSurfaceWithPolyhedralSurface: (SFPolyhedralSurface *)polyhedralSurface;Parameters
polyhedralSurfacepolyhedral surface
Return Value
new polyhedral surface
-
Initialize
Declaration
Objective-C
- (instancetype)init;Swift
init!()Return Value
new polyhedral surface
-
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 polyhedral surface
-
Initialize
Declaration
Objective-C
- (instancetype)initWithPolygons:(NSMutableArray<SFPolygon *> *)polygons;Swift
init!(polygons: NSMutableArray!)Parameters
polygonslist of polygons
Return Value
new polyhedral 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
geometryTypegeometry type
hasZhas z values
hasMhas m values
Return Value
new polyhedral surface
-
Initialize
Declaration
Objective-C
- (instancetype)initWithPolyhedralSurface: (SFPolyhedralSurface *)polyhedralSurface;Swift
init!(polyhedralSurface: SFPolyhedralSurface!)Parameters
polyhedralSurfacepolyhedral surface
Return Value
new polyhedral surface
-
Get patches
Declaration
Objective-C
- (NSMutableArray<SFPolygon *> *)patches;Swift
func patches() -> NSMutableArray!Return Value
patches
-
Set patches
Declaration
Objective-C
- (void)setPatches:(NSMutableArray<SFPolygon *> *)patches;Swift
func setPatches(_ patches: NSMutableArray!)Parameters
patchespatches
-
Get the number of polygons
Declaration
Objective-C
- (int)numPolygons;Swift
func numPolygons() -> Int32Return Value
polygon count
-
Get the number of patches
Declaration
Objective-C
- (int)numPatches;Swift
func numPatches() -> Int32Return Value
patch count
View on GitHub
SFPolyhedralSurface Class Reference