** Next:** Related file (external) types
** Up:** Set of polygons
** Previous:** Set of polygons
** Contents**
** Index**

###

The structure Polygons

This is the C definition of the structure:

typedef struct polygons {
char cmt[mw_cmtsize]; /* Comments */
char name[mw_namesize]; /* Name of the set */
Polygon first; /* Pointer to the first polygon */
} *Polygons;

If `polygons`

is of `Polygons` memory type, then `polygons->first`

is
of `Polygon` memory type and it is the first polygon of the set;
therefore, `polygons->first->first`

is the first point of the first
polygon.
`polygons->first->next`

is the second polygon, etc.
The end of the set occurs when the `next`

field of a polygon is
`NULL`.

mw
2004-05-05