[][src]Function oxygengine_physics_2d::prelude::ncollide2d::query::closest_points_line_line_parameters

pub fn closest_points_line_line_parameters<N>(
    orig1: &Point<N, U2>,
    dir1: &Matrix<N, U2, U1, <DefaultAllocator as Allocator<N, U2, U1>>::Buffer>,
    orig2: &Point<N, U2>,
    dir2: &Matrix<N, U2, U1, <DefaultAllocator as Allocator<N, U2, U1>>::Buffer>
) -> (N, N) where
    N: RealField

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.