Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Post History

71%
+3 −0
Q&A Dividing a cuboid in four

posted 1y ago by Peter Taylor‭  ·  edited 1y ago by Peter Taylor‭

Answer
#2: Post edited by user avatar Peter Taylor‭ · 2022-12-19T15:26:16Z (over 1 year ago)
  • Firstly, I assume that your usage of "quadrilateral" implies planarity, and I will largely assume that the hexahedron is convex. Then the hexahedron can be represented as six vectors, being the (unnormalised) normals for the planes under the convention that the plane is given by $v \cdot N = 1$. This gives 18 degrees of freedom for the hexahedron, which is less than the 24 df of 8 vertices in general position because of the planarity constraints.
  • The smaller hexahedron $AIJKLMNO$ shares three of its planes with $ABCDEFGH$ so it has 9 df. The volume constraints on the subhexahedra give three independent constraints; I think the planarity constraints on $OKDH$, $OMFH$, $ONGH$ are also independent; so that leaves 3 df of flexibility.
  • To set up all of the volumes, the easiest approach is probably to assume that all the hexahexdra are quadrilateral; take the centroid of each one as the point of six pyramids with the hexahedron faces as their bases; if the point of a pyramid is $X$, the base is $ABCD$ in clockwise order, and $P$ is any point in the plane of the base, then the (signed) volume is $\frac16 (X-P) \cdot ((A-C) \times (B-D))$. For symmetry it's probably useful to take $P = \frac{A+B+C+D}{4}$. With the correct assignment of signs you get a quadratic programming setup to which you can add any objective function you want and tackle with standard techniques. It's probably worth trying to take $O = A + \frac{H-A}{\sqrt[3]4}$ as an initial guess to assign the signs.
  • Firstly, I assume that your usage of "quadrilateral" implies planarity, and I will largely assume that the hexahedron is convex. Then the hexahedron can be represented as six vectors, being the (unnormalised) normals for the planes under the convention that the plane is given by $v \cdot N = 1$. This gives 18 degrees of freedom for the hexahedron, which is less than the 24 df of 8 vertices in general position because of the planarity constraints.
  • The smaller hexahedron $AIJKLMNO$ shares three of its planes with $ABCDEFGH$ so it has 9 df. The volume constraints on the subhexahedra give three independent constraints; I think the planarity constraints on $OKDH$, $OMFH$, $ONGH$ are also independent; so that leaves 3 df of flexibility.
  • To set up all of the volumes, the easiest approach is probably to assume that all the hexahexadra are convex; take the centroid of each one as the point of six pyramids with the hexahedron faces as their bases; if the point of a pyramid is $X$, the base is $ABCD$ in clockwise order, and $P$ is any point in the plane of the base, then the (signed) volume is $\frac16 (X-P) \cdot ((A-C) \times (B-D))$. For symmetry it's probably useful to take $P = \frac{A+B+C+D}{4}$. With the correct assignment of signs you get a quadratic programming setup to which you can add any objective function you want and tackle with standard techniques. It's probably worth trying to take $O = A + \frac{H-A}{\sqrt[3]4}$ as an initial guess to assign the signs.
#1: Initial revision by user avatar Peter Taylor‭ · 2022-12-19T10:57:19Z (over 1 year ago)
Firstly, I assume that your usage of "quadrilateral" implies planarity, and I will largely assume that the hexahedron is convex. Then the hexahedron can be represented as six vectors, being the (unnormalised) normals for the planes under the convention that the plane is given by $v \cdot N = 1$. This gives 18 degrees of freedom for the hexahedron, which is less than the 24 df of 8 vertices in general position because of the planarity constraints.

The smaller hexahedron $AIJKLMNO$ shares three of its planes with $ABCDEFGH$ so it has 9 df. The volume constraints on the subhexahedra give three independent constraints; I think the planarity constraints on $OKDH$, $OMFH$, $ONGH$ are also independent; so that leaves 3 df of flexibility.

To set up all of the volumes, the easiest approach is probably to assume that all the hexahexdra are quadrilateral; take the centroid of each one as the point of six pyramids with the hexahedron faces as their bases; if the point of a pyramid is $X$, the base is $ABCD$ in clockwise order, and $P$ is any point in the plane of the base, then the (signed) volume is $\frac16 (X-P) \cdot ((A-C) \times (B-D))$. For symmetry it's probably useful to take $P = \frac{A+B+C+D}{4}$. With the correct assignment of signs you get a quadratic programming setup to which you can add any objective function you want and tackle with standard techniques. It's probably worth trying to take $O = A + \frac{H-A}{\sqrt[3]4}$ as an initial guess to assign the signs.