WLJS LogoWLJS Notebook

Parallelepiped

Parallelepiped[p, {v1, ..., vk}] represents a parallelepiped with origin p and edge directions vi.

Examples

3D parallelepiped:

Graphics3D[Parallelepiped[{0, 0, 0}, {{1, 0, 0}, {0.5, 1, 0}, {0, 0.5, 1}}]]

2D parallelogram:

Graphics[Parallelepiped[{0, 0}, {{1, 0}, {0.5, 1}}]]

Please visit the official Wolfram Language Reference for more details.

On this page