IFC curve cache, allows dumping OBJ and hashes of curves

Hierarchy (View Summary)

Constructors

Properties

Accessors

Methods

Constructors

Properties

model: default

Accessors

  • get length(): number
  • Get the number of memoized items

    Returns number

    The number of items memoized in this.

Methods

  • Add an item to the cache.

    Parameters

    • id: number
    • value: CurveObject
    • temporary: boolean = false

    Returns void

  • Get the cached item for a particular id.

    Parameters

    • id: number

    Returns undefined | CurveObject

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

    Returns IterableIterator<[IfcCurve, string]>

    Curves with their matching OBJ as a string