Implements

Constructors

Properties

conwayGeometry: ConwayGeometry
materials: IfcMaterialCache
model: default
roots: number[] = []

Accessors

Methods

  • Add a transform node and make the current transform stack parent its parent.

    Items added will be made the top of the transform stack.

    To prevent a node being used as a parent, pop it subsequently.

    Parameters

    • localID: number
    • transform: readonly number[]
    • nativeTransform: NativeTransform4x4
    • isMappedItem: boolean = false

    Returns IfcSceneTransform

  • Does this scene have a particular piece of geometry?

    Parameters

    • localID: number

      The local ID of the geometry

    Returns boolean

    True if the scene has this geometry.

  • Walk the current scene.

    Parameters

    • includeSpaces: boolean = false

      the canonical material and the associated step element as it walks the hierarchy.

    Returns IterableIterator<[undefined | readonly number[], undefined | NativeTransform4x4, CanonicalMeshBuffer, undefined | CanonicalMaterial, undefined | default<EntityTypesIfc>]>

    Raw absolute matrix transform, the native absolute transform, the canonical mesh,