Trait piet_common::kurbo::ParamCurveCurvature[]

pub trait ParamCurveCurvature: ParamCurveDeriv where
    Self::DerivResult: ParamCurveDeriv
{ pub fn curvature(&self, t: f64) -> f64 { ... } }

A parametrized curve that reports its curvature.

Provided methods

pub fn curvature(&self, t: f64) -> f64

Compute the signed curvature at parameter t.

Loading content...

Implementors

Loading content...