poly_bisect_edges() works, it seems