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 extentscx (
float
) – x-location of the centroidcy (
float
) – y-location of the centroidtheta (
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)