Binary package “libmath-polygon-perl” in ubuntu jammy

Perl module for Polygon calculations

 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.