Calculates the lengths of sides in a polygon.
An array of points representing the polygon.
An array of side lengths.
Calculates the lengths of sides in a polygon.