SFWBGeometryTypeInfo

Objective-C

@interface SFWBGeometryTypeInfo : NSObject

Swift

class SFWBGeometryTypeInfo : NSObject

Geometry type info

  • Initializer

    Declaration

    Objective-C

    - (instancetype)initWithCode:(int)geometryTypeCode
                         andType:(enum SFGeometryType)geometryType
                         andHasZ:(BOOL)hasZ
                         andHasM:(BOOL)hasM;

    Swift

    init!(code geometryTypeCode: Int32, andType geometryType: SFGeometryType, andHasZ hasZ: Bool, andHasM hasM: Bool)

    Parameters

    geometryTypeCode

    geometry type code

    geometryType

    geometry type

    hasZ

    has z

    hasM

    has m

  • Get the geometry type code

    Declaration

    Objective-C

    - (int)geometryTypeCode;

    Swift

    func geometryTypeCode() -> Int32

    Return Value

    geometry type code

  • Get the geometry type

    Declaration

    Objective-C

    - (enum SFGeometryType)geometryType;

    Swift

    func geometryType() -> SFGeometryType

    Return Value

    geometry type

  • Has z values

    Declaration

    Objective-C

    - (BOOL)hasZ;

    Swift

    func hasZ() -> Bool

    Return Value

    true if has z values

  • Has m values

    Declaration

    Objective-C

    - (BOOL)hasM;

    Swift

    func hasM() -> Bool

    Return Value

    true if has m values