next up previous contents index
Next: Related file (external) types Up: Set of planar curves Previous: Set of planar curves   Contents   Index


The structure Curves

This is the C definition of the structure:

typedef struct curves {
  char cmt[mw_cmtsize]; /* Comments */
  char name[mw_namesize]; /* Name of the set */
  Curve first;    /* Pointer to the first curve */
} *Curves;

If curves is of Curves memory type, then curves->first is of Curve memory type and it is the first curve of the set; therefore, curves->first->first is the first point of the first curve. curves->first->next is the second curve, etc. The end of the set occurs when the next field of a curve is NULL.



mw 2004-05-05