Function parry3d::query::closest_points::closest_points_line_line_parameters
source · pub fn closest_points_line_line_parameters(
orig1: &Point<Real>,
dir1: &Vector<Real>,
orig2: &Point<Real>,
dir2: &Vector<Real>
) -> (Real, Real)
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
.