Struct heron::rapier_plugin::rapier::ncollide::interpolation::ConstantVelocityRigidMotion[][src]

pub struct ConstantVelocityRigidMotion<N> where
    N: RealField
{ pub t0: N, pub start: Isometry<N, U3, Unit<Quaternion<N>>>, pub local_center: Point<N, U3>, pub linvel: Matrix<N, U3, U1, <DefaultAllocator as Allocator<N, U3, U1>>::Buffer>, pub angvel: Matrix<N, U3, U1, <DefaultAllocator as Allocator<N, U3, U1>>::Buffer>, }

A linear motion from a starting isometry traveling at constant translational velocity.

Fields

t0: N

The time at which this parametrization begins. Can be negative.

start: Isometry<N, U3, Unit<Quaternion<N>>>

The starting isometry at t = self.t0.

local_center: Point<N, U3>

The local-space point at which the rotational part of this motion is applied.

linvel: Matrix<N, U3, U1, <DefaultAllocator as Allocator<N, U3, U1>>::Buffer>

The translational velocity of this motion.

angvel: Matrix<N, U3, U1, <DefaultAllocator as Allocator<N, U3, U1>>::Buffer>

The angular velocity of this motion.

Implementations

impl<N> ConstantVelocityRigidMotion<N> where
    N: RealField
[src]

pub fn new(
    t0: N,
    start: Isometry<N, U3, Unit<Quaternion<N>>>,
    local_center: Point<N, U3>,
    linvel: Matrix<N, U3, U1, <DefaultAllocator as Allocator<N, U3, U1>>::Buffer>,
    angvel: Matrix<N, U3, U1, <DefaultAllocator as Allocator<N, U3, U1>>::Buffer>
) -> ConstantVelocityRigidMotion<N>
[src]

Initialize a motion from a starting isometry and linear and angular velocities.

Trait Implementations

impl<N> Debug for ConstantVelocityRigidMotion<N> where
    N: Debug + RealField
[src]

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

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Any for T where
    T: Any

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Component for T where
    T: 'static + Send + Sync

impl<T> Downcast for T where
    T: Any

impl<T> DowncastSync for T where
    T: Send + Sync + Any

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Resource for T where
    T: 'static + Send + Sync

impl<N, M> RigidMotionComposition<N> for M where
    N: RealField,
    M: RigidMotion<N> + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,