rotate#

sectionproperties.pre.library.utils.rotate(point: tuple[float, float], angle: float) tuple[float, float][source]#

Rotates a point counterclockwise by a given angle around origin (0, 0).

Parameters:
  • point (tuple[float, float]) – Point coordinates to be rotated

  • angle (float) – Angle to rotate point coordinates in radians

Returns:

Coordinates of rotated point

Return type:

tuple[float, float]