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