pyvista.Cell.edges

Contents

pyvista.Cell.edges#

property Cell.edges: list[Cell][source]#

Return a list of edges composing the cell.

Returns:
list[Cell]

A list of edges composing the cell.

Examples

>>> from pyvista.examples.cells import Hexahedron
>>> mesh = Hexahedron()
>>> cell = mesh.get_cell(0)
>>> edges = cell.edges
>>> len(edges)
12