I initially named it `rotatePointsToXY()` but changed it later because I thought `rotatePolygonToXY()` tells you better that this function requires more than 2 points with which a triangle or a polygon can form, and actually the function is currently used to rotate points of a polygon and a triangle (e.g. EarClippingTriangulation). anyway i don't have much preference.