rotate_ccw_about_centre(obj, theta, degrees=True)¶
Return a Homogeneous Transform that implements rotating an object counter-clockwise about its centre. The given object must be transformable and must implement a method to provide the object centre.
Transformable) – A transformable object that has the
theta (float) – The angle of rotation clockwise about the origin.
degrees (bool, optional) – If
Truetheta is interpreted as degrees. If
False, theta is interpreted as radians.
Homogeneous) – A homogeneous transform that implements the rotation.