Module: StructuraidCore::Engineering::Analysis::Footing::Utils::Centroid

Included in:
CentricCombinedTwoColumns
Defined in:
lib/structuraid_core/engineering/analysis/footing/utils/centroid.rb

Instance Method Summary collapse

Instance Method Details

#absolute_centroidObject



7
8
9
10
11
12
13
# File 'lib/structuraid_core/engineering/analysis/footing/utils/centroid.rb', line 7

def absolute_centroid
  Engineering::Locations::Absolute.new(
    value_x: moment_yy / total_load,
    value_y: moment_xx / total_load,
    value_z: loads_from_columns.first.location.value_z
  )
end