Created a Polygon2D rendering function and messed around with various insertion algorithms for Polygon2D, but reverted to the old method.
Generated new documentation.