SFSurface

Objective-C

@interface SFSurface : SFGeometry

Swift

class SFSurface : SFGeometry

The base type for all 2-dimensional geometry types. A 2-dimensional geometry is a geometry that has an area.

  • 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 surface