Skip to main content

intersect_surfaces

Function intersect_surfaces 

Source
pub fn intersect_surfaces(
    a: &SurfaceGeometry,
    b: &SurfaceGeometry,
    options: IntersectOptions,
    tol: Tolerances,
) -> OgeomResult<SurfaceIntersection>
Expand description

Where two surfaces meet.

The analytic path answers the pairs with closed forms, exactly, with tolerance zero. Every other pair is seeded, traced and fitted to options.tolerance. One call, and the pair decides the path.

ยงErrors

OgeomError::Construction if the options are unusable. A pair the marcher finds nothing for is Apart, not an error; see that variant for what it can and cannot claim.