Hierarchy

  • ElementMapping2

Constructors

Methods

  • Retrieves the element index associated with the g3d instance index.

    Returns

    The element index associated with the instance, or undefined if not found.

    Parameters

    • instance: number

      The g3d instance index.

    Returns number

  • Retrieves the element ID associated with the specified element index.

    Returns

    The element ID associated with the element index, or undefined if not found.

    Parameters

    • element: number

      The element index.

    Returns bigint

  • Retrieves all element indices of the vim.

    Returns

    An iterator of all element indices in the vim.

    Returns IterableIterator<number>

  • Retrieves element indices associated with the given element ID.

    Returns

    An array of element indices associated with the element ID, or undefined if no elements are associated with the ID.

    Parameters

    • id: number | bigint

      The element ID.

    Returns any

  • Retrieves instance indices associated with the specified vim element index.

    Returns

    An array of instance indices associated with the vim element index, or undefined if the element does not exist in the vim.

    Parameters

    • element: number

      The vim element index.

    Returns number[]

  • Checks if the element exists in the vim.

    Returns

    True if the element exists in the vim, otherwise false.

    Parameters

    • element: number

      The element to check for existence.

    Returns boolean

  • Checks if the element has a mesh in the vim.

    Returns

    True if the element has a mesh in the vim, otherwise false.

    Parameters

    • element: number

      The element to check for mesh existence.

    Returns boolean

Generated using TypeDoc