pyvista.PolyData.irregular_faces#
- property PolyData.irregular_faces: tuple[NumpyArray[int], ...][source]#
Return a tuple of face arrays.
- Returns:
tuple
[numpy.ndarray
]Tuple of length n_faces where each element is an array of point indices for points in that face.
Examples
Get the face arrays of the five faces of a pyramid.
>>> import pyvista as pv >>> pyramid = pv.Pyramid().extract_surface() >>> pyramid.irregular_faces (array([0, 1, 2, 3]), array([0, 3, 4]), array([0, 4, 1]), array([3, 2, 4]), array([2, 1, 4]))