insertKnot

The spline with knot u inserted once, by Boehm's algorithm (Piegl and Tiller, algorithm A5.1); it describes the same curve. With k the last knot index at or before u and s the multiplicity of u, the control points k - p + 1 to k - s are replaced by points on the edges of the control polygon.