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