n_points

property UniformGrid.n_points: int

Return the number of points in the entire dataset.

Examples

Create a mesh and return the number of points in the mesh.

>>> import pyvista
>>> cube = pyvista.Cube().clean()
>>> cube.n_points
8