concreteproperties.utils.global_to_local#

global_to_local(theta, x, y)[source]#

Determines the local coordinates of the global point (x, y) given local axis angle theta.

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

  • x (float) – x-coordinate of the point in the global axis

  • y (float) – y-coordinate of the point in the global axis

Returns

Tuple[float, float] – Local axis coordinates (u, v)