Previous Up Next

12.16.2  Tetrahedrons: tetrahedron pyramid

The tetrahedron (or pyramid) command takes as arguments three or four points.

When given three points A, B and C as arguments, tetrahedron returns and draws the regular tetrahedron given by:

Input:

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

or:

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

Output:

Input:

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

Output:


Previous Up Next