![]() |
|
|
#23 |
|
Oct 2007
Manchester, UK
54C16 Posts |
|
|
|
|
|
|
#24 | |
|
Apr 2010
2·3·52 Posts |
Quote:
There is a way to preserving the area, but it requires "weighing" the distances, and that approach is slightly more complicated. Do the given problem first, then you can take off and perhaps rise to findings of area-preserving and barycenter-centered fitting rectangles. Last fiddled with by ccorn on 2010-07-11 at 01:56 Reason: Add area estimates |
|
|
|
|
|
|
#25 |
|
Apr 2010
9616 Posts |
|
|
|
|
|
|
#26 |
|
Apr 2010
2×3×52 Posts |
As said above, yes. Regrettably, no concretization has followed. After four days, I find that I have to spell it out myself.
Given the vertices Note that this is a constrained optimization problem. The constraint is that the closed polygon and take into account the constraint The minimized error square sum S is a measure for un-rectangleness. That is the answer to question (1). (You still have to find a suitable reference entity to compare with. That is question 3). Answering question (2) is straightforward if you know how to do optimizations of the above form. Briefly, you have to look for stationary points of Doing this exercise, you will quickly find Last fiddled with by ccorn on 2010-07-15 at 19:12 |
|
|
|
|
|
#27 |
|
Apr 2010
2·3·52 Posts |
Here is the figure of post #3, this time with the diagonals of the quadrilateral indicated.
|
|
|
|
|
|
#28 |
|
Apr 2010
2268 Posts |
If the problem was not interesting enough, how about its solution?
(1) Solved above, indicated by lavalamp. The minimized distance-squared sum is chosen as a measure for un-rectangleness. (2) Midpoint found by lavalamp. The diagonals of the fitting rectangle are parallel to the diagonals of the given quadrilateral (i. e. diagonal directions are preserved), and the length of each fitting rectangle's diagonal is the arithmetic mean of the lengths of the given quadrilateral's diagonals (i. e. the sum of the diagonal lengths is preserved). These results can be found by analytically optimizing (3) Now you have the fitting rectangle with side lengths a, b and the minimized distance-squared sum S. Without loss of generality, let |
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Rectangle Packing | henryzz | Puzzles | 4 | 2012-02-05 16:23 |