Timeline for How to check if a box fits in a box?
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 8, 2020 at 19:05 | comment | added | bit | @MoritzFirsching your answer works in all the cases I have tested. The user MatheusLima's answer works in some cases but does not work for box A with dimensions (30 20 10) and box B with dimensions (10 25 20), i.e. every bi is not less than or equal to every ai with i=1,2,3 yet box B can be put into box A as shown by the formula in your necessary condition. | |
Sep 28, 2017 at 10:40 | comment | added | Moritz Firsching | @JeppeStigNielsen sure! | |
Sep 28, 2017 at 10:36 | comment | added | Jeppe Stig Nielsen | Nice, and this answers the particular example from the question. However, your necessary condition is not sufficient, so there will be other cases where your method does not lead to any answer. For example user Mamuka Jibladze (written as მამუკა ჯიბლაძე) gives a case in a comment to another answer where you take a cube $(1,1,1)$ of space diagonal $\sqrt{3}$ and try to put it in a box of type $(2,\epsilon,\epsilon)$ where $\epsilon$ is very small. The space diagonals say it is OK, but the latter box is a very thin rod that cannot contain a unit cube. | |
Sep 28, 2017 at 7:49 | comment | added | coudy | Ah! Monotonicity of the diameter, well done! I tried the intrinsic volumes $a+b+c$, $ab+bc+ca$ and $abc$ which are also monotone but this does not succeed in this example. | |
Sep 27, 2017 at 21:05 | history | answered | Moritz Firsching | CC BY-SA 3.0 |