Trait nphysics3d::volumetric::InertiaTensor[][src]

pub trait InertiaTensor<N, P, AV, M> {
    fn apply(&self, a: &AV) -> AV;
fn to_world_space(&self, _: &M) -> Self;
fn to_relative_wrt_point(&self, _: N, _: &P) -> Self; }

Trait implemented by inertia tensors.

Required Methods

Applies this inertia tensor to a vector.

This is usually done by a matrix-vector multiplication.

Transforms this inertia tensor from local space to world space.

Computes this inertia tensor relative to a given point.

Implementations on Foreign Types

impl<N: Real> InertiaTensor<N, Point2<N>, Vector1<N>, Isometry2<N>> for Matrix1<N>
[src]

impl<N: Real> InertiaTensor<N, Point3<N>, Vector3<N>, Isometry3<N>> for Matrix3<N>
[src]

Implementors