Added conversion operators.
Made Rect and RotatedRect more useful.