Name
compose_transform3 - calculate the composition of two 3D rotation/translation/scaling transformations
Usage
- phi, theta, psi, x-trans, y-trans, z-trans, scale = compose_transform3(phi1,theta1,psi1,sx1,sy1,sz1,scale1,phi2,theta2,psi2,sx2,sy2,sz2,scale2)
Input
- phi1
- the first Euler (cw rot around z) to be applied in the ZYZ convention of the first transformation
- theta1
- the second Euler (cw rot around y) of the first transformation
- psi1
- the last Euler (cw rot around z)
- sx1
- the x-translation of the first transformation
- sy1
- the y-translation
- sz1
- the z-translation
- scale1
- the scaling
- phi2
- the first Euler (cw rot around z) to be applied in the ZYZ convention of the second transformation
- theta2
- the second Euler (cw rot around y) of the second transformation
- psi2
- the last Euler (cw rot around z)
- sx2
- the x-translation of the second transformation
- sy2
- the y-translation
- sz2
- the z-translation
- scale2
- the scaling
Output
- phi, theta, psi, x-trans, y-trans, z-trans, scale (of the composed transformation)
Description
Purpose: to determine the parameters of the composition of two 3D rotation/translation/scaling operations
Author / Maintainer
P. R. Baldwin
Keywords
- category 1
- UTILITIES
- category 2
- SPATIAL.
Files
- utilities.py
See also
- compose_transform2
Maturity
- alpha