Name
rotate_about_center - calculate the rotation/translation parameters that correspond to a rotation about a designated center
Usage
- alpha, x-trans, y-trans, z-trans, scale = rotate_about_center(alpha0,cx,cy):
Input
- alpha0
- the (cw) rot around z
- cx
- the x-coordinate of the center to be rotated around
- cy
- the y-coordinate of the center to be rotated around
Output
- alpha, x-trans, y-trans, z-trans, scale (of the transformation)
Description
Purpose: to determine the parameters of a transformation that is described as a rotation around a center that is not the origin.
Author / Maintainer
P. R. Baldwin
Keywords
- category 1
- UTILITIES
- category 2
- SPATIAL.
Files
- utilities.py
See also
- compose_transform2
Maturity
- alpha