rayEllipsoid

fun rayEllipsoid(ray: Ray, ellipsoid: Ellipsoid): Interval(source)

Computes the intersection points of a ray with an ellipsoid.

Return

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

Parameters

ray

The ray.

ellipsoid

The ellipsoid.

See also