Cell.halfedge_before

Cell.halfedge_before(u, v)

Find the halfedge before the given halfedge in the same face.

Parameters
  • u (int) – The first vertex of the halfedge.

  • v (int) – The second vertex of the halfedge.

Returns

tuple[int, int] – The previous halfedge.