concreteproperties.utils.calculate_local_extents#

calculate_local_extents(geometry, cx, cy, theta)[source]#

Calculates the local extents of a geometry given a centroid and axis angle.

Parameters
  • geometry (CompoundGeometry) – Geometry over which to calculate extents

  • cx (float) – x-location of the centroid

  • cy (float) – y-location of the centroid

  • theta (float) – Angle (in radians) the neutral axis makes with the horizontal axis (\(-\pi \leq \theta \leq \pi\))

Returns

Tuple[float, float, float, float] – Local extents (x11_max, x11_min, y22_max, y22_min)