API Reference
Return the number of vertices.
Examples
Create a simple mesh containing just two points and return the number of vertices.
>>> import pyvista >>> mesh = pyvista.PolyData([[1.0, 0.0, 0.0], [1.0, 1.0, 1.0]]) >>> mesh.n_verts 2