# Projected Area of a Cuboid

This Demonstration shows the projected area for a cuboid of specified height , width and depth after applying roll, pitch and yaw rotations.

### DETAILS

On the left is a 3D cuboid and on the right is the corresponding 2D area for the cuboid when projected into the - plane. The green arrow is in the direction of the positive axis and the red arrow is the direction of the positive axis.
The contour plot on the right shows the projected area of the rotated cuboid as a function of pitch and roll angles. The cuboid orientation is determined by the 3D rotation matrix composed by yaw around the initial axis, followed by by pitch around the initial axis, and finally by roll around the initial axis. Note that the yaw rotation does not affect the projected area.
The projected area can be found in several ways. One method is to project the vertices of the cuboid into 2D and calculate the area of the 2D polygon formed by the convex hull of these vertices. However, this Demonstration uses a Graham scan to find the convex hull.
Alternately, the area can be directly computed from the , and dimensions and the roll and pitch angles: .
This function is reflected along the borders of {{0,π/2},{0,π/2}}, and has a maximum of at roll = and pitch = ArcTan[w,h]. The minimum is found at the one of the corners of the set {{0,π/2},{0,π/2}}, and is the minimum of {d·w, h·w, d·h}.
Reference
 Mathematics Stack Exchange. "Orthogonal Projection Area of a 3-d Cube." (Aug 20, 2021) math.stackexchange.com/questions/2725780/orthogonal-projection-area-of-a-3-d-cube.

### PERMANENT CITATION

 Share: Embed Interactive Demonstration New! Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details » Download Demonstration as CDF » Download Author Code »(preview ») Files require Wolfram CDF Player or Mathematica.

• Orthographic Projection of ParallelepipedsAnastasiya Rybik
• Estimating the Surface Area and Volume of a Rectangular PrismSarah Lichtblau
• Stereographic Projection of Platonic SolidsEmile Okada
• Projections of the 16-CellMichael Rogers (Oxford College/Emory University)
• Orthogonal Projections of the Edges of a CubeIzidor Hafner
• Volume and Surface Area of the Menger SpongeSam Chung and Kevin Hur
• Moduli Space of Shapes of a Tetrahedron with Faces of Equal AreaKirill Krasnov
• Colored Spherical Projections of PolyhedraIzidor Hafner
• Waterman PolyhedraEd Pegg Jr
• Perfect ParallelepipedsJorge F. Sawyer