Skip to main content

one_sided_hausdorff

Function one_sided_hausdorff 

Source
pub fn one_sided_hausdorff<A, B>(
    from: &A,
    to: &B,
    accuracy: f64,
) -> Result<HausdorffBounds, HausdorffError>
Expand description

One-sided Hausdorff distance h(from, to), to within accuracy.

Refines until upper - lower <= accuracy or the split budget runs out; the interval is sound either way.

ยงErrors

An empty mesh, an out-of-range index, a non-finite position used by a triangle, or a negative or NaN accuracy.