pub struct Inertial {
pub mass: Bounded,
pub inertia: [[Bounded; 3]; 3],
pub principal_moments: [Bounded; 3],
pub principal_axes: [[f64; 3]; 3],
}Expand description
What a body of a material weighs: its mass (kg), its inertia tensor about the centre of mass along the world’s axes (kg·mm²), and the principal moments (kg·mm²) with their axes.
Fields§
§mass: Bounded§inertia: [[Bounded; 3]; 3]§principal_moments: [Bounded; 3]§principal_axes: [[f64; 3]; 3]The axis of each principal moment, a unit vector — where moments coincide, any axis of their plane is one, and these are a choice.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Inertial
impl RefUnwindSafe for Inertial
impl Send for Inertial
impl Sync for Inertial
impl Unpin for Inertial
impl UnsafeUnpin for Inertial
impl UnwindSafe for Inertial
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more