pub fn elevate_degree<P: Blend>(
knots: &KnotVector,
control: &[P],
tol: Tolerances,
) -> OgeomResult<Spline<P>>Expand description
Raise the degree by one, leaving the curve unchanged.
Works segment by segment on the Bézier decomposition, where degree elevation
is the exact closed form Q[i] = (i/(p+1)) P[i-1] + (1 - i/(p+1)) P[i], and
reassembles by removing the knots that were introduced: an interior knot of
multiplicity m comes back with m + 1, so the curve keeps its continuity
there.