pub trait ParamCurveDeriv {
    type DerivResult: ParamCurve;

    fn deriv(&self) -> Self::DerivResult;

    fn gauss_arclen(&self, coeffs: &[(f64, f64)]) -> f64 { ... }
}
Expand description

A differentiable parametrized curve.

Required Associated Types§

Required Methods§

The derivative of the curve.

Provided Methods§

Estimate arclength using Gaussian quadrature.

The coefficients are assumed to cover the range (-1..1), which is traditional.

Implementors§