pub struct HssSection {
pub b: f64,
pub h: f64,
pub t: f64,
pub fy: f64,
pub e: f64,
}Expand description
Hollow Structural Section (HSS / RHS) properties.
Fields§
§b: f64Outer width B (mm).
h: f64Outer height H (mm).
t: f64Wall thickness t (mm).
fy: f64Yield strength Fy (MPa).
e: f64Modulus of elasticity E (MPa).
Implementations§
Source§impl HssSection
impl HssSection
Sourcepub fn plastic_moment(&self) -> f64
pub fn plastic_moment(&self) -> f64
Nominal moment capacity Mp = Zx * Fy (N·mm).
Sourcepub fn torsional_constant(&self) -> f64
pub fn torsional_constant(&self) -> f64
Torsional constant J (mm⁴) for closed section.
Sourcepub fn warping_constant(&self) -> f64
pub fn warping_constant(&self) -> f64
Warping constant Cw ≈ 0 for closed HSS (negligible).
Sourcepub fn web_slenderness(&self) -> f64
pub fn web_slenderness(&self) -> f64
Slenderness ratio for local buckling (web): h/t.
Sourcepub fn flange_slenderness(&self) -> f64
pub fn flange_slenderness(&self) -> f64
Slenderness ratio for local buckling (flange): b/t.
Sourcepub fn compact_flange_limit(&self) -> f64
pub fn compact_flange_limit(&self) -> f64
AISC compact limit for HSS flanges: λp = 1.12 * sqrt(E/Fy).
Sourcepub fn flange_is_compact(&self) -> bool
pub fn flange_is_compact(&self) -> bool
Check if flange is compact.
Trait Implementations§
Source§impl Clone for HssSection
impl Clone for HssSection
Source§fn clone(&self) -> HssSection
fn clone(&self) -> HssSection
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 moreAuto Trait Implementations§
impl Freeze for HssSection
impl RefUnwindSafe for HssSection
impl Send for HssSection
impl Sync for HssSection
impl Unpin for HssSection
impl UnsafeUnpin for HssSection
impl UnwindSafe for HssSection
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