Cell.n_edges#
- property Cell.n_edges: int[source]#
Get the number of edges composing the cell.
- Returns:
intThe number of edges composing the cell.
See also
Examples#
Download Python source code | Download Jupyter notebook
>>> import pyvista as pv
>>> mesh = pv.Sphere()
>>> mesh.get_cell(0).n_edges
3