pyvista.Cell.faces

目次

pyvista.Cell.faces#

property Cell.faces: list[Cell][ソース]#

セルを構成する面のリストを返します.

戻り値:
list[Cell]

セルを構成する面のリスト.

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