prepare triangulation refactoring (split Triangulate/TriangulatePolygon)