The closest pair of points between two bounded segments a→b and c→d,
and their separation, as closestPointsBetweenSegments returns them.
Coordinates and the distance are in the inputs' unit, metres for scene
geometry. Both points are newly allocated and owned by the caller. When the
minimum is not unique, as for parallel overlapping segments, the pair with
the lowest parameter on the first segment, then on the second, is chosen.
The values are rounded binary64 witnesses, not a certified lower bound on
the separation.
The closest pair of points between two bounded segments
a→bandc→d, and their separation, asclosestPointsBetweenSegmentsreturns them.Coordinates and the distance are in the inputs' unit, metres for scene geometry. Both points are newly allocated and owned by the caller. When the minimum is not unique, as for parallel overlapping segments, the pair with the lowest parameter on the first segment, then on the second, is chosen. The values are rounded binary64 witnesses, not a certified lower bound on the separation.