pub fn closest_points_line_line_parameters(
orig1: &Point<f32>,
dir1: &Vector<f32>,
orig2: &Point<f32>,
dir2: &Vector<f32>,
) -> (f32, f32)
Expand description
Closest points between two lines.
The result, say res
, is such that the closest points between both lines are
orig1 + dir1 * res.0
and orig2 + dir2 * res.1
.