** Next:** Related file (external) types
** Up:** Point of a planar
** Previous:** Point of a planar
** Contents**
** Index**

###

The structure Point_curve

This is the C definition of the structure:

typedef struct point_curve {
int x,y; /* Coordinates of the point */
/* For use in Curve only */
struct point_curve *previous; /*Pointer to the previous point (may be NULL)*/
struct point_curve *next; /* Pointer to the next point (may be NULL) */
} *Point_curve;

The first two fields `x`

and `y`

are the coordinates (*x*, *y*) of
the point in the plane.
Since the `Curve`

and the `Polygon`

structures are defined as
a chain of `Point_curve`, there are two pointers `previous`

and `next`

associated to each point.

mw
2004-05-05