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

    Class RayPointIntersection<T>

    A collection of ray-point intersection data.

    Type Parameters

    • T = unknown

      The type of the data.

    Hierarchy (View Summary)

    Index

    Constructors

    • Constructs new ray-point intersection data.

      Type Parameters

      • T = unknown

        The type of the data.

      Parameters

      • distanceToOrigin: number

        The distance from the origin of the ray to the point.

      • distanceToRay: number

        The distance from the point to the ray.

      • point: Vector3

        The point.

      • data: T | null = null

        The point's data.

      Returns RayPointIntersection<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.
    distanceToRay: number

    The shortest distance from the point to the ray.

    point: Vector3 | null

    The point.