pub trait AngularInertiaOps<N>:
Copy
+ Debug
+ Default {
type AngVector;
type AngMatrix;
// Required methods
fn inverse(&self) -> Self;
fn transform_vector(&self, pt: Self::AngVector) -> Self::AngVector;
fn into_matrix(self) -> Self::AngMatrix;
}Expand description
Trait for angular inertia operations.
Required Associated Types§
Required Methods§
Sourcefn transform_vector(&self, pt: Self::AngVector) -> Self::AngVector
fn transform_vector(&self, pt: Self::AngVector) -> Self::AngVector
Transforms a vector by this angular inertia.
Sourcefn into_matrix(self) -> Self::AngMatrix
fn into_matrix(self) -> Self::AngMatrix
Converts this angular inertia into a matrix.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Source§impl AngularInertiaOps<WideF32x4> for SdpMatrix3<SimdReal>
impl AngularInertiaOps<WideF32x4> for SdpMatrix3<SimdReal>
type AngVector = Matrix<WideF32x4, Const<3>, Const<1>, ArrayStorage<WideF32x4, 3, 1>>
type AngMatrix = Matrix<WideF32x4, Const<3>, Const<3>, ArrayStorage<WideF32x4, 3, 3>>
fn inverse(&self) -> Self
fn transform_vector(&self, v: Vector3<SimdReal>) -> Vector3<SimdReal>
fn into_matrix(self) -> Matrix3<SimdReal>
Source§impl AngularInertiaOps<f32> for SdpMatrix3<f32>
Available on crate feature dim3 only.
impl AngularInertiaOps<f32> for SdpMatrix3<f32>
Available on crate feature
dim3 only.