This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)
 Documentation / Mathematica / Built-in Functions / Graphics and Sound / Graphics Primitives  /

  • Cuboid[ xmin , ymin , zmin ] is a three-dimensional graphics primitive that represents a unit cuboid, oriented parallel to the axes.
  • Cuboid[ xmin , ymin , zmin , xmax , ymax , zmax ] specifies a cuboid by giving the coordinates of opposite corners.
  • Each face of the cuboid (rectangular parallelepiped) is effectively a Polygon object.
  • You can specify how the faces and edges of the cuboid should be rendered using the same graphics directives as for polygons.
  • The coordinates of the corners of the cuboid can be given using Scaled.
  • See the Mathematica book: Section 2.9.8.
  • See also: Polygon, Rectangle.
  • Related package: Graphics`Polyhedra`.

    Further Examples

    This draws four unit cuboids inside a x cube.

    Evaluate the cell to see the graphic.