sphere

Lives in: pygamer.surfacemesh

pygamer.surfacemesh.sphere(order: int) → casc::simplicial_complex<gamer::surfmesh_detail::surfmesh_traits>

Construct a triangulated icosahedral sphere mesh

Parameters

order (int) – Number of subdivisions

Returns

Spherical mesh

Return type

SurfaceMesh