pyvista.UnstructuredGrid.faces

pyvista.UnstructuredGrid.faces#

property UnstructuredGrid.faces: NumpyArray[int][source]#

Return the polyhedron faces.

Deprecated since version 0.45.0: This property is deprecated and will be removed in a future release. VTK has deprecated GetFaces and GetFaceLocations in VTK 9.4 and may be removed in a future release of VTK. Please use polyhedral_faces instead.

Returns:
numpy.ndarray

Array of faces.