BMEdge *BM_face_find_shortest_edge(BMFace *f); BMEdge *BM_face_find_longest_edge(BMFace *f); Reviewed by Campbell Barton.