This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

Cuboid

Updated In 6 Graphic
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, with its front face on the outside.
  • You can specify how the faces and edges of the cuboid should be rendered using the same graphics directives as for polygons.  »
  • Cuboids can be specified as transparent using Opacity directives.  »
  • The coordinates of the corners of the cuboid can be given using Scaled.  »
New in 2 | Last modified in 6