Many criteria can be used to define points in a polygon described by a collection of closed or self-intersecting line segments. Version 12 provides a new way to construct polygons including ray crossings—CrossingPolygon—and winding numbers—WindingPolygon.
The new function RandomPolygon generates pseudorandom polygons with specified properties. Simulate random convex polygons and compute areas.
Estimate distribution and compare its histogram to the PDF.