Tetrahedrons

### 27.14.2 Tetrahedrons

The tetrahedron or pyramid command creates tetrahedra.

- tetrahedron command takes three or four arguments:
  - A,B,C, three points.
  - Optionally D, another point.
- tetrahedron(A,B,C) returns and draws the regular tetrahedron given by:
  - One edge is AB.
  - One face is in the plane ABC, on the same side of line AB as is C.
  - The tetrahedron is on the side of plane ABC that makes the points A, B and C counterclockwise.
- tetrahedron(A,B,C,D) returns and draws the tetrahedron ABCD.

#### Examples

tetrahedron([-2,0,0],[2,0,0],[0,2,0])

or:

pyramid([-2,0,0],[2,0,0],[0,2,0])

tetrahedron([-2,0,0],[2,0,0],[0,2,0],[0,0,2])