pyvista.Cell.faces#

property Cell.faces: List[Cell][source]#

Return a list of faces composing the cell.

Returns:
List[Cell]

A list of faces composing the cell.

Examples

>>> from pyvista.examples.cells import Tetrahedron
>>> mesh = Tetrahedron()
>>> cell = mesh.get_cell(0)
>>> faces = cell.faces
>>> len(faces)
4