
Math::polygon provides an oo interface around math::polygon::calc (for simple polygon calculations) andmath::polygon::clip (for framing a polygon in a square). there's also a collection of convex algorithms, for polygons with exclusions, and for polygon transformation.