rotation_matrix_2d

glue.utils.geometry.rotation_matrix_2d(alpha)[source]

Return rotation matrix for angle alpha around origin.

Parameters
alphafloat

Rotation angle in radian, increasing for anticlockwise rotation.