Function insert_knot3

pub fn insert_knot3(
    curve: &BSplineCurve<DVec3>,
    parameter: f64,
) -> Result<BSplineCurve<DVec3>, GeomError>
Expand description

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

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