Function elevate_degree2

Source
pub fn elevate_degree2(curve: &BSplineCurve2) -> GeomResult<BSplineCurve2>
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.