Interface Tree

A tree data structure.

Hierarchy

Implemented by

Properties

children?: null | Node[]

The children of this node.

max: Vector3

The upper bounds of the node.

min: Vector3

The lower bounds of this node.

Methods

  • Fetches all nodes of a specific depth level.

    Parameters

    • level: number

      The depth level.

    Returns Node[]

    The nodes.

  • Calculates the depth of this tree.

    Returns number

    The depth.

Generated using TypeDoc