# Name

compose_transform2 - calculate the composition of two 2D rotation/translation/scaling transformations

# Usage

- alpha, x-trans, y-trans, z-trans, scale = compose_transform2(alpha1,sx1,sy1,scale1,alpha2,sx2,sy2,scale2)

**NOTE: The script assumes that the parameter group 1 is the 1st transformation and group 2 is the 2nd. The swapping the order will results in the different composed transformation.**

## Input

- alpha1
- the (cw) rot around z of the first transformation
- sx1
- the x-translation of the first transformation
- sy1
- the y-translation
- scale1
- the scaling of the first transformation
- alpha2
- the (cw) rot around z of the second transformation
- sx2
- the x-translation of the second transformation
- sy2
- the y-translation
- scale2
- the scaling of the second transformation

## Output

- alpha, x-trans, y-trans, z-trans, scale (of the composed transformation)

# Description

Purpose: to determine the parameters of the composition of two 2D rotation/translation/scaling operations

# Author / Maintainer

P. R. Baldwin

# Keywords

- category 1
- UTILITIES
- category 2
- SPATIAL

# Files

- utilities.py

# See also

- compose_transform3

# Maturity

- alpha