Function oxygengine_physics_2d::prelude::ncollide2d::query::closest_points_line_line
source · pub fn closest_points_line_line<N>(
orig1: &OPoint<N, Const<2>>,
dir1: &Matrix<N, Const<nalgebra::::base::dimension::U2::{constant#0}>, Const<1>, ArrayStorage<N, 2, 1>>,
orig2: &OPoint<N, Const<2>>,
dir2: &Matrix<N, Const<nalgebra::::base::dimension::U2::{constant#0}>, Const<1>, ArrayStorage<N, 2, 1>>
) -> (OPoint<N, Const<2>>, OPoint<N, Const<2>>)where
N: RealField + Copy,
Expand description
Closest points between two segments.