[][src]Trait interpolation::Spatial

pub trait Spatial {
    type Scalar;
    fn add(&self, other: &Self) -> Self;
fn sub(&self, other: &Self) -> Self;
fn scale(&self, scalar: &Self::Scalar) -> Self; }

Used for interpolation over spatial structures.

Associated Types

The scalar type.

Required Methods

Add

Subtract

Scales with a scalar.

Implementations on Foreign Types

impl Spatial for f32
[src]

impl Spatial for f64
[src]

impl Spatial for i8
[src]

impl Spatial for i16
[src]

impl Spatial for i32
[src]

impl Spatial for i64
[src]

impl Spatial for u8
[src]

impl Spatial for u16
[src]

impl Spatial for u32
[src]

impl Spatial for u64
[src]

impl<T> Spatial for [T; 2] where
    T: Spatial
[src]

impl<T> Spatial for [T; 3] where
    T: Spatial
[src]

impl<T> Spatial for [T; 4] where
    T: Spatial
[src]

Implementors