Cell.n_points#
- property Cell.n_points: int[source]#
Get the number of points composing the cell.
- Returns:
intThe number of points.
See also
Examples#
Download Python source code | Download Jupyter notebook
>>> import pyvista as pv
>>> mesh = pv.Sphere()
>>> mesh.get_cell(0).n_points
3