Computes the distance of the ray
s origin to the given plane
. Returns a
distance of 0 if the ray is coplanar and returns undefined
if the ray does
not intersect with the plane.
The distance to the plane, or undefined
if it cannot be computed.
Computes the intersection point of the given ray
to the given plane
. If
the ray does not intersect with the plane, then undefined
is returned.
The intersection point, or undefined
if the ray does not
intersect.
Returns a point at the given distance along this ray.