[][src]Trait theon::ops::Interpolate

pub trait Interpolate<T = Self>: Sized {
    type Output;
    fn lerp(self, other: T, f: R64) -> Self::Output;

    fn midpoint(self, other: T) -> Self::Output { ... }
}

Associated Types

type Output

Loading content...

Required methods

fn lerp(self, other: T, f: R64) -> Self::Output

Loading content...

Provided methods

fn midpoint(self, other: T) -> Self::Output

Loading content...

Implementations on Foreign Types

impl<T> Interpolate<Vector2<T>> for Vector2<T> where
    T: Num + NumCast
[src]

type Output = Self

impl<T> Interpolate<Vector3<T>> for Vector3<T> where
    T: Num + NumCast
[src]

type Output = Self

impl<T> Interpolate<Point2<T>> for Point2<T> where
    T: Num + NumCast
[src]

type Output = Self

impl<T> Interpolate<Point3<T>> for Point3<T> where
    T: Num + NumCast
[src]

type Output = Self

impl<T> Interpolate<Vector2<T>> for Vector2<T> where
    T: Num + NumCast
[src]

type Output = Self

impl<T> Interpolate<Vector3<T>> for Vector3<T> where
    T: Num + NumCast
[src]

type Output = Self

impl<T> Interpolate<Point2<T>> for Point2<T> where
    T: Num + NumCast
[src]

type Output = Self

impl<T> Interpolate<Point3<T>> for Point3<T> where
    T: Num + NumCast
[src]

type Output = Self

impl<T, R, C> Interpolate<Matrix<T, R, C, <DefaultAllocator as Allocator<T, R, C>>::Buffer>> for MatrixMN<T, R, C> where
    T: Num + NumCast + Scalar,
    R: DimName,
    C: DimName,
    DefaultAllocator: Allocator<T, R, C>, 
[src]

type Output = Self

impl<T, D> Interpolate<Point<T, D>> for Point<T, D> where
    T: Num + NumCast + Scalar,
    D: DimName,
    DefaultAllocator: Allocator<T, D>, 
[src]

type Output = Self

Loading content...

Implementors

Loading content...