sparse-octree - v7.2.0
    Preparing search index...

    Interface Node

    A tree node.

    interface Node {
        children?: Node[] | null;
        max: Vector3;
        min: Vector3;
        getCenter(result: Vector3): Vector3;
        getDimensions(result: Vector3): Vector3;
    }

    Hierarchy (View Summary)

    Implemented by

    Index

    Properties

    children?: Node[] | null

    The children of this node.

    max: Vector3

    The upper bounds of the node.

    min: Vector3

    The lower bounds of this node.

    Methods

    • Calculates the center of this node.

      Parameters

      • result: Vector3

        A vector to store the result in.

      Returns Vector3

      A vector that describes the center of this node.

    • Calculates the size of this node.

      Parameters

      • result: Vector3

        A vector to store the result in.

      Returns Vector3

      A vector that describes the size of this node.