# Examples from pyvista.UnstructuredGrid.polyhedron_face_location_connectivity
# ============================================================================

import pyvista as pv
from pyvista import examples
grid = examples.cells.Polyhedron()
grid.polyhedron_face_location_connectivity

# Follow a face id back to the point ids of that face.
face = grid.polyhedron_face_location_connectivity[0]
start, stop = grid.polyhedron_face_offsets[face : face + 2]
grid.polyhedron_face_connectivity[start:stop]

# ----------------------------------------------------------------------
# Generated by sphinx-examples-as-code https://github.com/pyvista/sphinx-examples-as-code
