pub fn segment_distance<P1, Q1, P2, Q2>( p1: P1, q1: Q1, p2: P2, q2: Q2, ) -> SegmentDistanceResultwhere P1: Into<Vec2>, Q1: Into<Vec2>, P2: Into<Vec2>, Q2: Into<Vec2>,
Compute the closest points between two line segments.