0

Area of a Self-Intersecting Polygon
code-golfgeometry
Consider a potentially self-intersecting polygon, defined by a list n ≥ 3 points in 2D space. E.g.
{{-2, 0}, {1, 2}, {-3, 4}, {0.5, -0.5}, {0, 3}, {-0.5, -1}}
There are several ways to define the area of such a polygon, but the most inter...