pyacs.lib.icosahedron.build_icosahedron

Construct an icosahedron on the unit sphere.

pyacs.lib.icosahedron.build_icosahedron.icosahedron()[source]

Construct an icosahedron on the unit sphere.

Returns:

  • verts (list of tuple) – Vertices (x, y, z) on unit sphere.

  • faces (list of tuple) – Face indices, each a 3-tuple of vertex indices.