pub fn one_sided_polyline_hausdorff_distance(
a: &[DVec3],
b: &[DVec3],
) -> Result<f64, FrechetError>Expand description
The supremum, over every point of polyline a, of that point’s distance
to the nearest point of polyline b. Both curves are treated as
continuous piecewise-linear point sets, not just their vertices.
This is not symmetric: a can lie entirely close to b while b has
stretches far from a (for example, a short segment sitting directly
above the middle of a much longer one). Use polyline_hausdorff_distance for
the symmetric, two-sided distance.
§Errors
An empty polyline or a non-finite coordinate.