pyvista.Cell.n_faces#

property Cell.n_faces: int[source]#

Get the number of faces composing the cell.

Returns:
int

The number of faces.

Examples

>>> from pyvista.examples.cells import Tetrahedron
>>> mesh = Tetrahedron()
>>> mesh.get_cell(0).n_faces
4