Function implicit_surface_intersection

Source
pub fn implicit_surface_intersection(
    carrier: &Surface,
    other: &Surface,
    window: Option<(Point2, Point2)>,
) -> Result<Vec<ImplicitSection3>, ExactIntersectionRefusal>
Expand description

Every component of the section of carrier by other in a window of carrier’s parameters, as implicit curves on carrier.

Without a window, the whole of a compact carrier (a sphere or torus) is searched, or the stretch of an unbounded one that a compact other can reach.

§Errors

  • UnsupportedPair: a B-spline operand, or an unbounded pair with no window.
  • Undecided: the trace ran out of budget, or met a singular point it could not match to the field’s sign changes about it.
  • NotRegularCurve: the surfaces only touch in the window (a singular point of the section), or the trace exhausted its budget.
  • Disjoint: no section in the window.