Creates an
Icosahedron
with its center at the origin, where the triangular faces have enclosing circles of diameter diameter_of_triangle. If any of angle_x, angle_y, or angle_z is non-zero, theIcosahedron
is rotated by the amounts specified around the corresponding axes. Finally, if p is not the origin, theIcosahedron
is shifted such thatcenter
comes to lie at p.Icosahedron i(origin, 3, 0, 10); i.draw();
![]()
Fig. 195.
i.filldraw();
![]()
Fig. 196.