Function insert_knot2

Source
pub fn insert_knot2(
    curve: &BSplineCurve2,
    parameter: Scalar,
) -> GeomResult<BSplineCurve2>
Expand description

Insert one interior knot into a planar curve in homogeneous coordinates.

The represented rational or polynomial curve is unchanged. Endpoint knots and knots whose multiplicity already reaches the degree are rejected.