This is documentation for Mathematica 5, 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

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

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

FilledSmallSquare Each face of the cuboid (rectangular parallelepiped) is effectively a Polygon object.

FilledSmallSquare You can specify how the faces and edges of the cuboid should be rendered using the same graphics directives as for polygons.

FilledSmallSquare The coordinates of the corners of the cuboid can be given using Scaled.

FilledSmallSquare See Section 2.10.8.

FilledSmallSquare See also: Polygon, Rectangle.

FilledSmallSquare Related package: Graphics`Polyhedra`.

FilledSmallSquare New in Version 2.

Further Examples