Cube

Cube[]

represents a regular cube centered at the origin with unit edge length.

Cube[l]

represents a cube with edge length l.

Cube[{θ,ϕ},]

represents a cube rotated by an angle θ with respect to the z axis and angle ϕ with respect to the y axis.

Cube[{x,y,z},]

represents a cube centered at {x,y,z}.

Details and Options

Examples

open allclose all

Basic Examples  (3)

A cube:

A styled cube:

Volume and centroid:

Scope  (7)

Graphics  (4)

Specification  (1)

A single cube:

Styling  (3)

FaceForm and EdgeForm can be used to specify the styles of the faces and edges:

Apply a Texture to the faces:

Assign VertexColors to vertices:

Regions  (3)

Embedding dimension is the dimension of the space in which the cube lives:

Geometric dimension is the dimension of the shape itself:

Centroid:

A cube is bounded:

Find its range:

Wolfram Research (2019), Cube, Wolfram Language function, https://reference.wolfram.com/language/ref/Cube.html.

Text

Wolfram Research (2019), Cube, Wolfram Language function, https://reference.wolfram.com/language/ref/Cube.html.

CMS

Wolfram Language. 2019. "Cube." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/Cube.html.

APA

Wolfram Language. (2019). Cube. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Cube.html

BibTeX

@misc{reference.wolfram_2024_cube, author="Wolfram Research", title="{Cube}", year="2019", howpublished="\url{https://reference.wolfram.com/language/ref/Cube.html}", note=[Accessed: 23-April-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_cube, organization={Wolfram Research}, title={Cube}, year={2019}, url={https://reference.wolfram.com/language/ref/Cube.html}, note=[Accessed: 23-April-2024 ]}