pyvista.UnstructuredGrid.face_locations

pyvista.UnstructuredGrid.face_locations#

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

Return polyhedron face locations.

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_face_locations instead.

Returns:
numpy.ndarray

Array of face locations.