Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef _TYPES
- #define _TYPES
- typedef struct str_Point2D
- {
- double x;
- double y;
- }
- Point2D;
- typedef struct str_Segment2D
- {
- Point2D depart;
- Point2D arrive;
- }
- Segment2D;
- typedef struct str_Rectangle2D
- {
- double segment_rectangle;
- }
- Rectangle2D;
- typedef struct str_Cercle2D
- {
- Point2D centre;
- Segment2D rayon;
- }
- Cercle2D;
- typedef struct str_ArcDeCercle2D
- {
- Point2D centre;
- Segment2D rayon;
- double angle_depart;
- double angle_fin;
- }
- ArcDeCercle2D;
- #endif
Add Comment
Please, Sign In to add comment