pub struct RegularPolygonSection {
pub circumradius: f64,
pub n_sides: usize,
}Expand description
Regular polygon section (n-gon).
Fields§
§circumradius: f64§n_sides: usizeImplementations§
Trait Implementations§
Source§impl Clone for RegularPolygonSection
impl Clone for RegularPolygonSection
impl Copy for RegularPolygonSection
Source§impl Debug for RegularPolygonSection
impl Debug for RegularPolygonSection
Source§impl ParametricSection for RegularPolygonSection
impl ParametricSection for RegularPolygonSection
Source§fn designation(&self) -> String
fn designation(&self) -> String
Get the section name/designation.
Source§fn build_composite(&self, material: Material) -> CompositeSection
fn build_composite(&self, material: Material) -> CompositeSection
Build the section as a composite section with material groups.
Source§fn mass_per_length(&self, material: &Material) -> f64
fn mass_per_length(&self, material: &Material) -> f64
Get approximate mass per unit length [kg/m].
Source§impl PartialEq for RegularPolygonSection
impl PartialEq for RegularPolygonSection
impl StructuralPartialEq for RegularPolygonSection
Auto Trait Implementations§
impl Freeze for RegularPolygonSection
impl RefUnwindSafe for RegularPolygonSection
impl Send for RegularPolygonSection
impl Sync for RegularPolygonSection
impl Unpin for RegularPolygonSection
impl UnsafeUnpin for RegularPolygonSection
impl UnwindSafe for RegularPolygonSection
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