Trait batbox_lapp::CubicHermiteCurve
source · pub trait CubicHermiteCurve<T> {
// Required method
fn intervals(&self) -> Vec<CurveInterval<T>>;
// Provided method
fn chain(&self, resolution: usize) -> Chain<T>
where T: Float { ... }
}
Expand description
A trait representing a curve defined by intervals with key points and tangents.
Required Methods§
sourcefn intervals(&self) -> Vec<CurveInterval<T>>
fn intervals(&self) -> Vec<CurveInterval<T>>
Get the intervals of the curve.