POLYGONLENGTH Perimeter of a polygon.

   L = polygonLength(POLYGON);
   Computes the boundary length of a polygon. POLYGON is given by a N-by-2
   array of vertices. 

   Example
     % Perimeter of a circle approximation
     poly = circleToPolygon([0 0 1], 200);
     polygonLength(poly)
     ans =
         6.2829

   See also:
   polygons2d, polygonCentroid, polygonArea, drawPolygon, polylineLength

Package: matgeom