Skip to main content

lifted_gap_past_confusion

Function lifted_gap_past_confusion 

Source
pub fn lifted_gap_past_confusion(
    curve: (&Curve, (f64, f64)),
    pcurve: (&PlanarCurve, (f64, f64)),
    surface: &SurfaceGeometry,
    paced: bool,
    tol: Tolerances,
) -> OgeomResult<f64>
Expand description

lifted_gap where it exceeds the confusion distance; within it, the answer is only known to be within it.

A line, a circle or an ellipse against a line, a circle or an ellipse on a plane, or an iso line of a cylinder, a cone, a sphere or a torus, is answered in closed form where that stands within the confusion distance (crate::pcurve_gap::pcurve_gap’s forms). Within it the sampling compares every point with the same fraction’s point of the curve, so its answer is the widest of the direct gaps it read: no wider than the widest over the range, which the closed form bounds, and no narrower than the gap at the ends, which the bound is within rounding of.

§Errors

As lifted_gap.