Блог пользователя lone-_-wolf

Автор lone-_-wolf, история, 4 года назад, По-английски

I have a rectangle (x1,y1),(x2,y2),(x3,y3),(x4,y4) and an orientation angle (call it L).Now i want to best approximate a rectangle whose axis are aligned in parallel with x and y axis and has the most overlapping area with the original rectangle.How to do it?

Note:In output , just need the width and height of the new aligned rectangle

  • Проголосовать: нравится
  • -1
  • Проголосовать: не нравится