Geometry
One vertex per line: x, y (counter-clockwise). Further blocks separated by a blank line are treated as holesThe shoelace (Gauss) formulas give the exact area, centroid and second moments of the closed polygon. Curved edges are approximated with a sufficient number of vertices. Vertex order does not matter (the sign is corrected automatically).