CellType.is_linear#
- property CellType.is_linear: bool[source]#
Return
Trueif this cell type is linear.Added in version 0.48.
See also
Examples#
Download Python source code | Download Jupyter notebook
HEXAHEDRON is linear.
>>> import pyvista as pv
>>> pv.CellType.HEXAHEDRON.is_linear
True
QUADRATIC_HEXAHEDRON is not linear.
>>> pv.CellType.QUADRATIC_HEXAHEDRON.is_linear
False