pub struct PlasticSection {
pub section: Section,
pub material: Material,
pub n_fibers: usize,
}Expand description
Plastic section analysis for a given cross-section.
Fields§
§section: Section§material: Material§n_fibers: usizeNumber of fibers for numerical integration
Implementations§
Source§impl PlasticSection
impl PlasticSection
Sourcepub fn new(section: Section, material: Material) -> Self
pub fn new(section: Section, material: Material) -> Self
Create a new plastic section analysis.
Sourcepub fn with_fibers(self, n: usize) -> Self
pub fn with_fibers(self, n: usize) -> Self
Set number of fibers for numerical integration.
Sourcepub fn plastic_properties(&self, axis: PlasticAxis) -> PlasticProperties
pub fn plastic_properties(&self, axis: PlasticAxis) -> PlasticProperties
Compute plastic properties about a given axis.
Sourcepub fn find_plastic_neutral_axis(
&self,
axis: PlasticAxis,
_fy: f64,
) -> PlasticNeutralAxis
pub fn find_plastic_neutral_axis( &self, axis: PlasticAxis, _fy: f64, ) -> PlasticNeutralAxis
Find plastic neutral axis (PNA) for a given bending axis.
Uses exact polygon clipping (Sutherland-Hodgman) to compute areas,
mirroring Python’s split_section + brentq approach.
Sourcepub fn area_on_side(&self, axis: PlasticAxis, position: f64, above: bool) -> f64
pub fn area_on_side(&self, axis: PlasticAxis, position: f64, above: bool) -> f64
Compute area on one side of a line.
Sourcepub fn full_plastic_properties(&self) -> FullPlasticProperties
pub fn full_plastic_properties(&self) -> FullPlasticProperties
Full plastic properties (both centroidal and principal axes).
Mirrors Python sectionproperties.analysis.plastic_section.PlasticSection.calculate_plastic_properties:
computes plastic moduli and shape factors about the centroidal x/y axes
and the principal 11/22 axes.
Trait Implementations§
Source§impl Clone for PlasticSection
impl Clone for PlasticSection
Auto Trait Implementations§
impl Forget for PlasticSection
impl Freeze for PlasticSection
impl Move for PlasticSection
impl RefUnwindSafe for PlasticSection
impl Send for PlasticSection
impl Sync for PlasticSection
impl Unpin for PlasticSection
impl UnsafeUnpin for PlasticSection
impl UnwindSafe for PlasticSection
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