Maximized dimensions of bounding box around rotated rectangle [closed]












0












$begingroup$


Given an orthogonal rectangle with sides a and b, what rotations $theta$ result in a bounding box with maximum height c.q. width?
I hope this is formulated correctly. By bounding box, I mean the smallest orthogonal rectangle that contains each of the 4 corners of the inner rectangle after rotating this inner rectangle. I'm interested in the largest individual sides, not their area.



I believe this comes down to deriving the width and height of the resulting rectangle as a function of the given variables and maximizing those.
Taking an example:





The sides of the resulting bounding box are given by $h = h_1 + h_2 = a sin theta + b cos theta$.



I'm unsure if there is a distinction between situation $a<b$ or not but I believe the result will be obtained in analogous manner regardless.



How would I in this example with $a<b$ maximize $h$?










share|cite|improve this question









$endgroup$



closed as off-topic by Cesareo, Leucippus, KReiser, José Carlos Santos, metamorphy Dec 29 '18 at 8:07


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This question is missing context or other details: Please provide additional context, which ideally explains why the question is relevant to you and our community. Some forms of context include: background and motivation, relevant definitions, source, possible strategies, your current progress, why the question is interesting or important, etc." – Cesareo, Leucippus, José Carlos Santos, metamorphy

If this question can be reworded to fit the rules in the help center, please edit the question.
















  • $begingroup$
    rotation around the center of the rectangle?
    $endgroup$
    – T. Fo
    Dec 28 '18 at 16:59
















0












$begingroup$


Given an orthogonal rectangle with sides a and b, what rotations $theta$ result in a bounding box with maximum height c.q. width?
I hope this is formulated correctly. By bounding box, I mean the smallest orthogonal rectangle that contains each of the 4 corners of the inner rectangle after rotating this inner rectangle. I'm interested in the largest individual sides, not their area.



I believe this comes down to deriving the width and height of the resulting rectangle as a function of the given variables and maximizing those.
Taking an example:





The sides of the resulting bounding box are given by $h = h_1 + h_2 = a sin theta + b cos theta$.



I'm unsure if there is a distinction between situation $a<b$ or not but I believe the result will be obtained in analogous manner regardless.



How would I in this example with $a<b$ maximize $h$?










share|cite|improve this question









$endgroup$



closed as off-topic by Cesareo, Leucippus, KReiser, José Carlos Santos, metamorphy Dec 29 '18 at 8:07


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This question is missing context or other details: Please provide additional context, which ideally explains why the question is relevant to you and our community. Some forms of context include: background and motivation, relevant definitions, source, possible strategies, your current progress, why the question is interesting or important, etc." – Cesareo, Leucippus, José Carlos Santos, metamorphy

If this question can be reworded to fit the rules in the help center, please edit the question.
















  • $begingroup$
    rotation around the center of the rectangle?
    $endgroup$
    – T. Fo
    Dec 28 '18 at 16:59














0












0








0





$begingroup$


Given an orthogonal rectangle with sides a and b, what rotations $theta$ result in a bounding box with maximum height c.q. width?
I hope this is formulated correctly. By bounding box, I mean the smallest orthogonal rectangle that contains each of the 4 corners of the inner rectangle after rotating this inner rectangle. I'm interested in the largest individual sides, not their area.



I believe this comes down to deriving the width and height of the resulting rectangle as a function of the given variables and maximizing those.
Taking an example:





The sides of the resulting bounding box are given by $h = h_1 + h_2 = a sin theta + b cos theta$.



I'm unsure if there is a distinction between situation $a<b$ or not but I believe the result will be obtained in analogous manner regardless.



How would I in this example with $a<b$ maximize $h$?










share|cite|improve this question









$endgroup$




Given an orthogonal rectangle with sides a and b, what rotations $theta$ result in a bounding box with maximum height c.q. width?
I hope this is formulated correctly. By bounding box, I mean the smallest orthogonal rectangle that contains each of the 4 corners of the inner rectangle after rotating this inner rectangle. I'm interested in the largest individual sides, not their area.



I believe this comes down to deriving the width and height of the resulting rectangle as a function of the given variables and maximizing those.
Taking an example:





The sides of the resulting bounding box are given by $h = h_1 + h_2 = a sin theta + b cos theta$.



I'm unsure if there is a distinction between situation $a<b$ or not but I believe the result will be obtained in analogous manner regardless.



How would I in this example with $a<b$ maximize $h$?







trigonometry rectangles






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Dec 28 '18 at 16:35









Frank RazenbergFrank Razenberg

1032




1032




closed as off-topic by Cesareo, Leucippus, KReiser, José Carlos Santos, metamorphy Dec 29 '18 at 8:07


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This question is missing context or other details: Please provide additional context, which ideally explains why the question is relevant to you and our community. Some forms of context include: background and motivation, relevant definitions, source, possible strategies, your current progress, why the question is interesting or important, etc." – Cesareo, Leucippus, José Carlos Santos, metamorphy

If this question can be reworded to fit the rules in the help center, please edit the question.







closed as off-topic by Cesareo, Leucippus, KReiser, José Carlos Santos, metamorphy Dec 29 '18 at 8:07


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This question is missing context or other details: Please provide additional context, which ideally explains why the question is relevant to you and our community. Some forms of context include: background and motivation, relevant definitions, source, possible strategies, your current progress, why the question is interesting or important, etc." – Cesareo, Leucippus, José Carlos Santos, metamorphy

If this question can be reworded to fit the rules in the help center, please edit the question.












  • $begingroup$
    rotation around the center of the rectangle?
    $endgroup$
    – T. Fo
    Dec 28 '18 at 16:59


















  • $begingroup$
    rotation around the center of the rectangle?
    $endgroup$
    – T. Fo
    Dec 28 '18 at 16:59
















$begingroup$
rotation around the center of the rectangle?
$endgroup$
– T. Fo
Dec 28 '18 at 16:59




$begingroup$
rotation around the center of the rectangle?
$endgroup$
– T. Fo
Dec 28 '18 at 16:59










1 Answer
1






active

oldest

votes


















1












$begingroup$

The maximum height possible is the length of the diagonal. This occurs when the diagonal is verticle. $$h_{max}=sqrt{a^2+b^2}$$






share|cite|improve this answer









$endgroup$




















    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1












    $begingroup$

    The maximum height possible is the length of the diagonal. This occurs when the diagonal is verticle. $$h_{max}=sqrt{a^2+b^2}$$






    share|cite|improve this answer









    $endgroup$


















      1












      $begingroup$

      The maximum height possible is the length of the diagonal. This occurs when the diagonal is verticle. $$h_{max}=sqrt{a^2+b^2}$$






      share|cite|improve this answer









      $endgroup$
















        1












        1








        1





        $begingroup$

        The maximum height possible is the length of the diagonal. This occurs when the diagonal is verticle. $$h_{max}=sqrt{a^2+b^2}$$






        share|cite|improve this answer









        $endgroup$



        The maximum height possible is the length of the diagonal. This occurs when the diagonal is verticle. $$h_{max}=sqrt{a^2+b^2}$$







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Dec 28 '18 at 16:51









        Daniel MathiasDaniel Mathias

        1,36018




        1,36018















            Popular posts from this blog

            How do I know what Microsoft account the skydrive app is syncing to?

            When does type information flow backwards in C++?

            Grease: Live!