pygfx.geometries.tetrahedron_geometry
- pygfx.geometries.tetrahedron_geometry(radius=1.0, subdivisions=0)
Generate a tetrahedron.
Creates a tetrahedron that is centered around local origin. Its vertices lie on the surface of a sphere of the given radius. Its faces are optionally subdivided if subdivisions>0.
- Parameters:
- Returns:
tetrahedron – A geometry object representing the desired tetrahedron. Mathematically, it consists of a set of open orientable manifolds.
- Return type: