Skip to main content

joined

Function joined 

Source
pub fn joined(
    pieces: &[BSplineCurve],
    tol: Tolerances,
) -> OgeomResult<(BSplineCurve, f64)>
Expand description

Polynomial splines of one degree, each clamped and each starting where the one before ends in parameter, joined end to end into one spline that is continuous at the joins and no smoother. Each join takes the middle of the two ends that meet there; the second value is how far that moved either end.

ยงErrors

OgeomError::Construction if there are no pieces, they differ in degree, one is rational, or their parameter ranges do not abut.