- #1

- 4

- 0

If I have a square, which is like this:

Code:

```
A-----B
| |
| |
C-----D
```

and I then apply a transform matrix to it, which might consist of multiple rotations and translations, is there any way to determine what the overall angle is between the horizontal and the line AB of the square?

I am assuming there is a way to do this, because it is always possible to just draw out the square with the matrix applied to it, on paper and just measure the angle that it makes to the horizontal with a protractor. However I have no idea how to go about working out the angle purely mathematically.

The matrix I am using is of the form:

[a] [c] [e]

**[d] [f]**

[0] [0] [1]

I would appreciate any help with this.

Thanks

[0] [0] [1]

I would appreciate any help with this.

Thanks