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:
resolution (float) – 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_cartesian – Rows are x, y, z where z is the 001 pole direction
- Return type:
numpy.ndarray (N,3)
References
[Meshzoo]The meshzoo.sphere module.