cell_n_points#

DataSet.cell_n_points(ind: int) int[source]#

Return the number of points in a cell.

Parameters:
indint

Cell ID.

Returns:
int

Number of points in the cell.

Examples

>>> from pyvista import examples
>>> mesh = examples.load_airplane()
>>> mesh.cell_n_points(0)
3