merge GeneralPolygon2D to Polygon2D