title: Processing cv::RotatedRect width and height
body: <p>I need to define a rotated rectangle from its 4 corners. The rotated rectangle is defined by a center point, a size couple (width, height), and an angle. </p>
  
  <p>How is it decided which size is the height, and which one is the width? </p>
  
  <p>The width is not the length of the most horizontal edge, is it? E.g. if the angle is bigger than 90°, does it swap? </p>