Function elevate_degree2
pub fn elevate_degree2(
curve: &BSplineCurve<DVec2>,
) -> Result<BSplineCurve<DVec2>, GeomError>Expand description
Raise a planar curve’s degree by one without changing its image.
Exact: a degree-p curve is also a degree-(p+1) curve. Rational curves elevate in homogeneous coordinates, so weights are carried through rather than discarded.