Skip to main content

approximate_branch

Function approximate_branch 

Source
pub fn approximate_branch(
    a: &SurfaceGeometry,
    b: &SurfaceGeometry,
    branch: &Traced,
    tolerance: f64,
    tol: Tolerances,
) -> OgeomResult<IntersectionCurve>
Expand description

Fit one traced branch to curves, within tolerance.

ยงErrors

OgeomError::Construction if the branch has fewer than two points or the tolerance is not a positive distance.