Function envelope::interpolate::linear [] [src]

pub fn linear<X, Y, P>(x: X, start: &P, end: &P) -> Y where P: Point<X, Y>, X: PartialEq, Y: Spatial + PartialEq, Y::Scalar: Float

Interpolate linearly between the start and end points.