pyvista.Cell.n_points#

property Cell.n_points: int[source]#

Get the number of points composing the cell.

Returns:
int

The number of points.

Examples

>>> import pyvista as pv
>>> mesh = pv.Sphere()
>>> mesh.get_cell(0).n_points
3