rayPlane

fun rayPlane(ray: Ray, plane: Plane, result: Cartesian3? = definedExternally): Cartesian3(source)

Computes the intersection of a ray and a plane.

Return

The intersection point or undefined if there is no intersections.

Parameters

ray

The ray.

plane

The plane.

result

The object onto which to store the result.

See also