Wrapper for poly2tri