pub fn continuous_line3_plane3<S>(
line: &Line3<S>,
plane: &Plane3<S>,
) -> Option<(S, Point3<S>)>where
S: Real + RelativeEq,Expand description
Compute the continuous intersection of a 3D line with a 3D plane.
Returns None if the line and plane are parallel:
let plane = Plane3::new ([0.0, 0.0, 0.0].into(), Unit3::axis_z());
let line = Line3::new (
[0.0, 0.0, 0.0].into(),
Unit3::normalize ([1.0, 1.0, 0.0].into()));
assert_eq!(continuous_line3_plane3 (&line, &plane), None);