SFTIN

@interface SFTIN : SFPolyhedralSurface

A tetrahedron (4 triangular faces), corner at the origin and each unit coordinate digit.

  • Initialize

    Declaration

    Objective-C

    - (instancetype)init;

    Swift

    init!()

    Return Value

    new tin

  • Initialize

    Declaration

    Objective-C

    - (instancetype)initWithHasZ:(BOOL)hasZ andHasM:(BOOL)hasM;

    Swift

    init!(hasZ: Bool, andHasM hasM: Bool)

    Parameters

    hasZ

    has z values

    hasM

    has m values

    Return Value

    new tin

  • Initialize

    Declaration

    Objective-C

    - (instancetype)initWithPolygons:(NSMutableArray<SFPolygon *> *)polygons;

    Swift

    init!(polygons: NSMutableArray!)

    Parameters

    polygons

    list of polygons

    Return Value

    new tin

  • Initialize

    Declaration

    Objective-C

    - (instancetype)initWithPolygon:(SFPolygon *)polygon;

    Swift

    init!(polygon: SFPolygon!)

    Parameters

    polygon

    polygon

    Return Value

    new tin