Function closest_points_on_segments

Source
pub fn closest_points_on_segments(
    first: [Point3; 2],
    second: [Point3; 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.