ImageData.is_empty#
- property ImageData.is_empty: bool[source]#
Return
Trueif there are no points.Added in version 0.45.
Examples#
Download Python source code | Download Jupyter notebook
>>> import pyvista as pv
>>> mesh = pv.PolyData()
>>> mesh.is_empty
True
>>> mesh = pv.Sphere()
>>> mesh.is_empty
False