Function project_3d_point_on_line

Source
pub fn project_3d_point_on_line<S>(
    point: &Point3<S>,
    line: &Line3<S>,
) -> Point3<S>
where S: Real,
Expand description

Given a 3D point and a 3D line, returns the nearest point on the line to the given point