pub struct RevolvedGeometry {
pub volume_m3: f64,
pub centroid_m: f64,
pub axial_m5: f64,
pub transverse_m5: f64,
pub wetted_area_m2: f64,
pub planform_area_m2: f64,
pub planform_centroid_m: f64,
}Expand description
Volume, centroid, moments and areas of a solid of revolution per unit density; multiply the volume and moments by a density to get mass and inertia.
Fields§
§volume_m3: f64Volume, m³.
centroid_m: f64Centroid of the volume, m aft of the forward end.
axial_m5: f64Moment of inertia about the axis per unit density, ∫ r² dV, m⁵.
transverse_m5: f64Moment of inertia about a transverse axis through the centroid per unit density, m⁵.
wetted_area_m2: f64Outer surface area, ends excluded, m².
planform_area_m2: f64Side-view (planform) area, m².
planform_centroid_m: f64Centroid of the planform area, m aft of the forward end.
Trait Implementations§
Source§impl Clone for RevolvedGeometry
impl Clone for RevolvedGeometry
Source§fn clone(&self) -> RevolvedGeometry
fn clone(&self) -> RevolvedGeometry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RevolvedGeometry
Source§impl Debug for RevolvedGeometry
impl Debug for RevolvedGeometry
Source§impl<'de> Deserialize<'de> for RevolvedGeometry
impl<'de> Deserialize<'de> for RevolvedGeometry
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RevolvedGeometry
impl PartialEq for RevolvedGeometry
Source§fn eq(&self, other: &RevolvedGeometry) -> bool
fn eq(&self, other: &RevolvedGeometry) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RevolvedGeometry
impl Serialize for RevolvedGeometry
impl StructuralPartialEq for RevolvedGeometry
Auto Trait Implementations§
impl Freeze for RevolvedGeometry
impl RefUnwindSafe for RevolvedGeometry
impl Send for RevolvedGeometry
impl Sync for RevolvedGeometry
impl Unpin for RevolvedGeometry
impl UnsafeUnpin for RevolvedGeometry
impl UnwindSafe for RevolvedGeometry
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