Skip to main content

BimTransformsRepository

Represents a repository for calculating and caching transforms for a IFC file.

Index

Constructors

publicconstructor

Methods

publicclear

  • clear(): void
  • Clears the transforms repository by removing all cached transforms.


    Returns void

publicconvertBimTransformToMatrixToRef

  • convertBimTransformToMatrixToRef(wt: BimTransform, outMatrix: Matrix): Matrix
  • Converts a BimTransform to a Matrix and assigns the result to the provided outMatrix.


    Parameters

    Returns Matrix

    The converted Matrix. Same as outMatrix.

publicgetMatrix

  • Retrieves the matrix associated with the given BimProductMesh. If the matrix is already cached, it is returned directly. Otherwise, the matrix is calculated, cached, and returned.


    Parameters

    Returns Matrix

    The matrix associated with the given BimProductMesh.

publicgetTransform