[null,null,["Last updated 2021-11-19 UTC."],[],[],null,["# Module: tfg.geometry.transformation.rotation_matrix_2d\n\n|-----------------------------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/graphics/blob/master/tensorflow_graphics/geometry/transformation/rotation_matrix_2d.py) |\n\nThis module implements 2d rotation matrix functionalities.\n\nGiven an angle of rotation \\\\(\\\\theta\\\\) a 2d rotation matrix can be expressed as\n\n\\\\\\[\n\\\\mathbf{R} =\n\\\\begin{bmatrix}\n\\\\cos(\\\\theta) \\& -\\\\sin(\\\\theta) \\\\\\\\\n\\\\sin(\\\\theta) \\& \\\\cos(\\\\theta)\n\\\\end{bmatrix}.\n\\\\\\]\n\nMore details rotation matrices can be found on [this page.](https://en.wikipedia.org/wiki/Rotation_matrix)\n| **Note:** This matrix rotates points in the \\\\(xy\\\\)-plane counterclockwise.\n\nFunctions\n---------\n\n[`from_euler(...)`](../../../tfg/geometry/transformation/rotation_matrix_2d/from_euler): Converts an angle to a 2d rotation matrix.\n\n[`from_euler_with_small_angles_approximation(...)`](../../../tfg/geometry/transformation/rotation_matrix_2d/from_euler_with_small_angles_approximation): Converts an angle to a 2d rotation matrix under the small angle assumption.\n\n[`inverse(...)`](../../../tfg/geometry/transformation/rotation_matrix_2d/inverse): Computes the inverse of a 2D rotation matrix.\n\n[`is_valid(...)`](../../../tfg/geometry/transformation/rotation_matrix_2d/is_valid): Determines if a matrix is a valid rotation matrix.\n\n[`rotate(...)`](../../../tfg/geometry/transformation/rotation_matrix_2d/rotate): Rotates a 2d point using a 2d rotation matrix."]]