n_points#

property RectilinearGrid.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()
>>> cube.n_points
8