PERIMETER Purpose
Compute the perimeter of a polygon defined by a set of x/y points
Calling Sequence
p = perimeter(x, y)
Inputs
x: List of x points
y: List of y points Outputs
Perimeter defined by connecting x/y pairs. The perimeter includes
the line segment from the last x/y pair to the first x/y pair.
METHOD SUMMARY:
The length of the line segment connecting each x/y pair is computed
using the pythagorean theorem in double precision. Lengths are
summed. Modification History
May 2012: Written by Chris Beaumont