Skip to content

KBE3D / KBCore / Cesium / IntersectionTests / rayAxisAlignedBoundingBox

函数: rayAxisAlignedBoundingBox()

rayAxisAlignedBoundingBox(ray: Ray, box: AxisAlignedBoundingBox, result: Interval | undefined): void

Computes the intersection points of a ray with an axis-aligned bounding box. (axis-aligned in the same space as the ray)

参数

ray

Ray

The ray.

box

AxisAlignedBoundingBox

The axis-aligned bounding box.

result

The interval containing scalar points along the ray or undefined if there are no intersections.

Interval | undefined

返回

void

KBE3D @3.0.0 Copyright © 2024-present KBE3D