def findFace(halfEdge):
    """Find the first face on the left of halfEdge that is not degenerated."""

    while halfEdge.next.next is halfEdge:
        halfEdge=halfEdge.next.twin

    for i in halfEdge.newFace.incidentElements:
        if i: return halfEdge.newFace
    
    return None