Module: StructuraidCore::Engineering::Analysis::Footing::Utils::OneWayShear
- Included in:
- CentricCombinedTwoColumns
- Defined in:
- lib/structuraid_core/engineering/analysis/footing/utils/one_way_shear.rb
Instance Method Summary collapse
Instance Method Details
#shear_at(x_distance) ⇒ Object
7 8 9 10 11 12 13 14 15 16 17 18 |
# File 'lib/structuraid_core/engineering/analysis/footing/utils/one_way_shear.rb', line 7 def shear_at(x_distance) return [] if x_distance > section_length || x_distance.negative? shear = [ shear_stretch_1(x_distance), shear_stretch_2(x_distance), shear_stretch_3(x_distance) ].select(&:nonzero?) return [0] if shear.empty? shear end |