cell_n_points

StructuredGrid.cell_n_points(ind: int) int

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