### 13.16.3 Parallelepipeds: parallelepiped

The parallelepiped command takes as arguments four points, A, B, C and D.

parallelepiped returns and draws the parallelepiped determined by the edges AB, AC and AD.
Input:

parallelepiped([0,0,0],[5,0,0],[0,5,0],[0,0,5])

Output:

Input:

p := parallelepiped([0,0,0],[5,0,0],[0,3,0],[0,0,2]):;

then:

c1, c2, c3, c4, c5, c6, c7, c8 := vertices(p);

Output: