Trait trajectory::Trajectory[][src]

pub trait Trajectory {
    type Point;
    type Time;
    fn position(&self, t: Self::Time) -> Option<Self::Point>;
fn velocity(&self, t: Self::Time) -> Option<Self::Point>;
fn acceleration(&self, t: Self::Time) -> Option<Self::Point>; }

Associated Types

Loading content...

Required methods

fn position(&self, t: Self::Time) -> Option<Self::Point>[src]

fn velocity(&self, t: Self::Time) -> Option<Self::Point>[src]

fn acceleration(&self, t: Self::Time) -> Option<Self::Point>[src]

Loading content...

Implementors

impl<T> Trajectory for CubicSpline<T> where
    T: Float
[src]

type Point = Vec<T>

type Time = T

impl<T> Trajectory for Linear<T> where
    T: Float
[src]

type Point = Vec<T>

type Time = T

Loading content...