Geometry for an IFC model.

Implements

Constructors

  • Construct this with an IFC step model.

    Parameters

    • model: default

      The model this is from

    • isVoid: boolean = false

    Returns IfcModelGeometry

Properties

isVoid: boolean = false
model: default

The model this is from

Accessors

  • get length(): number
  • Get the number of items in this.

    Returns number

Methods

  • Allows iteration through this.

    Returns IterableIterator<CanonicalMeshBuffer, any, any>

  • Add a mesh to the geometry cache.

    Parameters

    Returns void

  • Calculate the size of the geometry data in this.

    Returns number

    • size of the geometry data
  • Drop the mesh for a particular local ID

    Parameters

    • localID: number

      The local ID of the item to delete.

    Returns void

  • Delete the temporaries from this.

    Returns void

  • Get the OBJs for all the curves in the cache (lazily)

    Returns IterableIterator<[IfcGeometricRepresentationItem, string, CanonicalMaterial, string] | [IfcGeometricRepresentationItem, string, undefined, undefined], any, any>

    Curves with their matching OBJ as a string