|
INFO607
|
Go to the source code of this file.
Functions | |
| Point | Point_sub (Point p, Point q) |
| Point | Point_add (Point p, Point q) |
| Point | Point_mul (double c, Point p) |
| double | Point_dot (Point p, Point q) |
| double | Point_norm2 (Point p) |
| double | Point_norm (Point p) |
| double | Point_distance (Point p, Point q) |
| Point | Point_normalize (Point p) |
| double | distance (double x1, double y1, double x2, double y2) |
| void | resetCompteurDistance (void) |
| Remet à zéro le compteur du nombre d'appel à distance. | |
| int | getCompteurDistance (void) |
| double distance | ( | double | x1, |
| double | y1, | ||
| double | x2, | ||
| double | y2 | ||
| ) |
Definition at line 53 of file points.c.
Referenced by Point_distance().
| int getCompteurDistance | ( | void | ) |
Definition at line 64 of file points.c.
Referenced by ticDistance().
Definition at line 41 of file points.c.
References distance(), and SPoint::x.
| double Point_norm | ( | Point | p | ) |
Definition at line 36 of file points.c.
References Point_norm2().
Referenced by Point_normalize().
| double Point_norm2 | ( | Point | p | ) |
Definition at line 31 of file points.c.
References Point_dot().
Referenced by Point_norm().
Definition at line 46 of file points.c.
References Point_mul(), and Point_norm().
| void resetCompteurDistance | ( | void | ) |
Remet à zéro le compteur du nombre d'appel à distance.
Definition at line 59 of file points.c.
Referenced by ticDistance().