HalfEdge.edge_strip

HalfEdge.edge_strip(edge, return_faces=False)[source]

Find all edges on the same strip as a given edge.

Parameters
  • edge (tuple[int, int]) – The identifier of the starting edge.

  • return_faces (bool, optional) – Return the faces on the strip in addition to the edges.

Returns

list[tuple[int, int]] | tuple[list[tuple[int, int]], list[int]] – If return_faces is False, the edges on the same strip as the given edge. If return_faces is False, the edges on the same strip and the corresponding faces.