Cell.n_faces#
- property Cell.n_faces: int[source]#
Get the number of faces composing the cell.
- Returns:
intThe number of faces.
See also
Examples#
Download Python source code | Download Jupyter notebook
>>> from pyvista.examples.cells import Tetrahedron
>>> mesh = Tetrahedron()
>>> mesh.get_cell(0).n_faces
4