Returns the perimeter of the given Polygon.
The Polygon to get the perimeter of.
The perimeter of the Polygon.