pub fn shortest_line_segment_between_line_and_line_segment<T: Float + SignedNumberOps<T> + FloatOps<T>, V: VecN<T> + SignedNumberOps<T> + FloatOps<T> + Dot<T>>(
p1: V,
p2: V,
p3: V,
p4: V
) -> Option<(V, V)>Expand description
returns the shortest line segment between 2 line segments p1-p2 and p3-p4 as an option tuple where .0 is the point on line segment 1 and .1 is the point on line segment 2