get_icosahedral_mesh_vertices#

diffsims.generators.sphere_mesh_generators.get_icosahedral_mesh_vertices(resolution)[source]#

Return the (x, y, z) coordinates of the vertices of an icosahedral mesh of a cube, see [Cajaravelli2015]. Method was adapted from meshzoo [Meshzoo].

Parameters:
resolutionfloat

The maximum angle in degrees between neighboring grid points. Since the mesh is generated iteratively, the actual maximum angle in the mesh can be slightly smaller.

Returns:
points_in_cartesiannumpy.ndarray (N,3)

Rows are x, y, z where z is the 001 pole direction

References

[Meshzoo]

The meshzoo.sphere module.