Trait spline::curve::Curve [] [src]

pub trait Curve {
    fn evaluate(&self, f64) -> (f64, f64);
}

A type identifying itself as a curve.

Required Methods

fn evaluate(&self, f64) -> (f64, f64)

Evalute the curve at a point in [0, 1].

Implementors