pyacs.lib.icosahedron

Icosahedron mesh construction and subdivision.

build_icosahedron

Construct an icosahedron on the unit sphere.

distance

Return Euclidean distance between two points A and B (each [x, y, z]).

mesh_global

Build global icosahedron mesh (verts and faces on unit sphere).

mesh_regional

Build an equilateral triangle mesh on the unit sphere within bounds.

subdivide

Subdivide each triangle into four triangles, pushing verts to the unit sphere.