typedef struct{int x; int y;}P1; typedef struct{int x; int y;}P2; typedef struct{int x; int y;}P3; typedef struct{int x; int y;}P4; typedef struct { P1 point1; P2 point2; P3 point3; P4 point4; }Piste;