Class OctantWrapper<T>

An octant wrapper that stores positional information.

Type Parameters

  • T

    The type of the octant data.

Implements

  • Node

Constructors

Properties

The octant ID.

max: Vector3
min: Vector3
octant: null | Octant<T>

The octant.

Methods

  • Checks if the given point lies inside the boundaries of this wrapper.

    Parameters

    Returns boolean

    Whether the given point lies inside the boundaries.

  • Calculates the squared distance from the center to the given point.

    Parameters

    Returns number

    The squared distance.

  • Calculates the squared distance to the given point.

    Parameters

    Returns number

    The squared distance.