Heya all,

I've got a problem where I know the four corners of a rectangle that is rotated about its center by an unknown angle. I need to know the angle of rotation, and also the width and height of the rectangle if it was not rotated at all.

For the life of me, I can't see how I can determine that information with just the four corners of the rectangle. Any help would be greatly appreciated.