Skip to main content

intersect_curves_2d

Function intersect_curves_2d 

Source
pub fn intersect_curves_2d(
    a: &PlanarCurve,
    b: &PlanarCurve,
    options: CurveCurveOptions,
    tol: Tolerances,
) -> OgeomResult<CurveIntersection<Point2>>
Expand description

Where two planar curves meet.

Analytic pairs (lines and circles) are answered in closed form, overlaps included. Everything else goes through sampling and Newton.

ยงErrors

OgeomError::Construction if the options are unusable.