Cuboid

Cuboid[{xmin, ymin, zmin}]
is a three-dimensional graphics primitive that represents a unit cube, oriented parallel to the axes.

Cuboid[{xmin, ymin, zmin}, {xmax, ymax, zmax}]
specifies a cuboid by giving the coordinates of opposite corners.

DetailsDetails

  • 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. »
  • Cuboid[] is equivalent to Cuboid[{0, 0, 0}].
New in 2 | Last modified in 6
New to Mathematica? Find your learning path »
Have a question? Ask support »