pyvista.Cell.n_edges#

property Cell.n_edges: int[source]#

Get the number of edges composing the cell.

Returns:
int

The number of edges composing the cell.

Examples

>>> import pyvista as pv
>>> mesh = pv.Sphere()
>>> mesh.get_cell(0).n_edges
3