circumference function

Return circumference length of polygon line