CSG Memoization

Hierarchy (view full)

Constructors

Accessors

Methods

Constructors

Accessors

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

    Returns number

    The number of items memoized in this.

Methods

  • Iterate through the cached objects

    Returns IterableIterator<[number, CsgOperations], any, any>

    Iterate over this.

  • Add an item to the cache.

    Parameters

    Returns void

  • Clear the cache

    Returns void

  • Delete an item from the cache.

    Parameters

    • id: number

    Returns boolean

    True if the item was in the cache.

  • Get the cached item for a particular id.

    Parameters

    • id: number

    Returns undefined | CsgOperations