menpo.transform.rotate_ccw_about_centre(obj, theta, degrees=True)[source]

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.

  • obj (Transformable) – A transformable object that has the centre method.

  • theta (float) – The angle of rotation clockwise about the origin.

  • degrees (bool, optional) – If True theta is interpreted as degrees. If False, theta is interpreted as radians.


transform (Homogeneous) – A homogeneous transform that implements the rotation.