STEINERPOINT Compute steiner point (weighted centroid) of a polygon.

   PT = steinerPoint(POINTS);
   PT = steinerPoint(PTX, PTY);
   Computes steiner point of a polygon defined by POINTS. POINTS is a
   [N*2] array of double.

   The steiner point is computed the same way as the polygon centroid,
   except that a weight depending on the angle is given to each vertex.

   See also:
   polygons2d, polygonArea, polygonCentroid, drawPolygon

   ---------
   author : David Legland 
   INRA - TPV URPOI - BIA IMASTE
   created the 11/11/2004.

Package: matgeom