toPolygon2D is back