READPOLYGONSET Read a set of simple polygons stored in a file.
POLY = readPolygonSet(FILENAME);
Returns the polygon stored in the file FILENAME.
Polygons are assumed to be stored in text files, without headers, with
x and y coordinates packed in two separate lines:
X11 X12 X13 ... X1N
Y11 Y12 Y13 ... Y1N
X21 X22 X23 ... X2N
Y21 Y22 Y23 ... Y2N
Each polygon may have a different number of vertices. The result is a
cell array of polygon, each cell containing a N-by-2 array representing
the vertex coordinates.
See also:
polygons2d
---------
author : David Legland
INRA - TPV URPOI - BIA IMASTE
created the 11/04/2004.
Package: matgeom