How to interpret the output for finding the largest rectangle in a polygon ? #35
Unanswered
CorentinPCycloide
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I try to implement the largest_interior_rectangle function, but I don't understand the output.
It works properly when I try the example test_polygon2 in the test directory (test_lir_within_polygon) and I've got the right result :
[-5 -3 14 12].
The way I interpret the output is [X1 Y1 W H] with X1/Y1 the coordonates of the right botto
m corner point, W : width and H : height.
But the output rectangle seems to be out of the polygon.
I maybe misunderstood something.
Do I something wrong ?
Thanks,
Corentin
Beta Was this translation helpful? Give feedback.
All reactions