SFTIN

Objective-C

@interface SFTIN : SFPolyhedralSurface

Swift

class SFTIN : SFPolyhedralSurface

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

  • Create

    Declaration

    Objective-C

    + (SFTIN *)tin;

    Return Value

    new tin

  • Create

    Declaration

    Objective-C

    + (SFTIN *)tinWithHasZ:(BOOL)hasZ andHasM:(BOOL)hasM;

    Parameters

    hasZ

    has z values

    hasM

    has m values

    Return Value

    new tin

  • Create

    Declaration

    Objective-C

    + (SFTIN *)tinWithPolygons:(NSMutableArray<SFPolygon *> *)polygons;

    Parameters

    polygons

    list of polygons

    Return Value

    new tin

  • Create

    Declaration

    Objective-C

    + (SFTIN *)tinWithPolygon:(SFPolygon *)polygon;

    Parameters

    polygon

    polygon

    Return Value

    new tin

  • Create

    Declaration

    Objective-C

    + (SFTIN *)tinWithTIN:(SFTIN *)tin;

    Parameters

    tin

    tin

    Return Value

    new tin

  • 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

  • Initialize

    Declaration

    Objective-C

    - (instancetype)initWithTIN:(SFTIN *)tin;

    Swift

    init!(tin: SFTIN!)

    Parameters

    tin

    tin

    Return Value

    new tin