CellType.is_composite#
- property CellType.is_composite: bool[source]#
Return
Trueif this cell type is composed of multiple smaller cells.Added in version 0.48.
See also
Examples#
Download Python source code | Download Jupyter notebook
VERTEX is a primary cell and is not composite.
>>> import pyvista as pv
>>> pv.CellType.VERTEX.is_composite
False
POLY_VERTEX is composite since it’s composed of multiple vertex cells.
>>> pv.CellType.POLY_VERTEX.is_composite
True