Previous Up Next

13.17.5  Icosahedra: icosahedron

The icosahedron command takes as arguments three points, A, B and C.

icosahedron returns and draws the icosahedron centered at A with a vertex at B and such that the plane ABC contains one of the vertices closest to B.
Input:

icosahedron([0,0,0],[0,0,5],[0,1,0])

Output:

Input:

icosahedron([0,0,0],[0,0,sqrt(5)], [2,1,0])

Output:


Previous Up Next