Function closest_points_on_segments

pub fn closest_points_on_segments(
    first: [DVec3; 2],
    second: [DVec3; 2],
) -> Result<ClosestPoints3, ProximityError>
Expand description

Closest witnesses on two finite segments.

Zero-length segments are intentionally treated as points. Equal-distance solutions preserve the first endpoint of each input segment.