This package provides utilities for a variety of different structural shapes. Currently, the following are included: - Pipes - Box Beams - I-Beams - Rods
Here are some basic examples of usage
rust
fn main() {
let x = structural_shapes::Rod{radius: 1.0};
println!("cross sectional area: {:?}", x.area());
println!("moment of inertia: {:?}", x.moi_x());
println!("moment of inertia with displacement 2.0: {:?}", x.moi_x_d());
}