- typedef struct _node
- {
- int x, y;
- struct _node *next;
- struct _node *prev;
- struct _node *nextPoly; /* pointer to the next polygon */
- struct _node *neighbor; /* the coresponding intersection point */
- int intersect; /* 1 if an intersection point, 0 otherwise */
- int entry; /* 1 if an entry point, 0 otherwise */
- int visited; /* 1 if the node has been visited, 0 otherwise */
- float alpha; /* intersection point placemet */
- } node;