Geometry
One vertex per line: x, y (counter-clockwise). A block separated by a blank line is treated as a holeShoelace (Gauss) formulas compute the closed polygon's A, centroid and second moments exactly. Curved edges are approximated with enough vertices. Winding direction does not matter (the sign is corrected automatically).