[][src]Trait ncollide2d::interpolation::RigidMotion

pub trait RigidMotion<N: RealField> {
    fn position_at_time(&self, t: N) -> Isometry<N>;
}

A continuous rigid motion.

This is a function, assumed to be continuous, that, given a parameter t returns a direct isometry. Mathematically speaking this is a one-parameter curve on the space of direct isometries. This curve should have a continuity of at least C0.

Required methods

fn position_at_time(&self, t: N) -> Isometry<N>

Get a position at the time t.

Loading content...

Implementors

impl<N: RealField> RigidMotion<N> for ConstantLinearVelocityRigidMotion<N>[src]

impl<N: RealField> RigidMotion<N> for ConstantVelocityRigidMotion<N>[src]

impl<N: RealField> RigidMotion<N> for InterpolatedRigidMotion<N>[src]

impl<N: RealField> RigidMotion<N> for Isometry<N>[src]

Loading content...