Skip to main content

rational_derivatives

Function rational_derivatives 

Source
pub fn rational_derivatives<P: Blend>(
    knots: &KnotVector,
    control: &[Weighted<P>],
    u: f64,
    n: usize,
    tol: Tolerances,
) -> OgeomResult<Vec<P>>
Expand description

Evaluate a rational B-spline and its derivatives up to order n.

The quotient rule applied to the homogeneous form. Differentiating the projected curve directly is not an option: the projection is a quotient, so its derivatives mix all lower orders.

ยงErrors

As evaluate_rational.