# Examples from pyvista.CellType.vtk_class
# ========================================

# Get the VTK class associated with the `TRIANGLE` cell type.
import pyvista as pv
pv.CellType.TRIANGLE.vtk_class

# Abstract cell types like `HIGHER_ORDER_HEXAHEDRON` return `None`.
pv.CellType.HIGHER_ORDER_HEXAHEDRON.vtk_class is None

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

