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

    Class PointContainer<T>

    A container for a single point and its data.

    Type Parameters

    • T = unknown

      The type of the data.

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    Constructors

    • Constructs a new point.

      Type Parameters

      • T = unknown

        The type of the data.

      Parameters

      • point: Vector3 | null = null

        The point.

      • data: T | null = null

        The data.

      • distance: number = 0.0

        A distance.

      Returns PointContainer<T>

    Properties

    data: T | null

    The data.

    distance: number

    A contextual distance to another reference point.

    • (Nearest) point search: Distance to the search point or center.
    • Raycasting: Distance to the origin of the ray.
    point: Vector3 | null

    The point.