ImageData.n_points#
- property ImageData.n_points: int[source]#
Return the number of points in the entire dataset.
- Returns:
intNumber of points in the entire dataset.
Examples#
Download Python source code | Download Jupyter notebook
Create a mesh and return the number of points in the mesh.
>>> import pyvista as pv
>>> cube = pv.Cube()
>>> cube.n_points
8