|
Mapper
|
#include <math.h>#include <sys/types.h>#include <sys/param.h>#include <sys/times.h>
Go to the source code of this file.
Macros | |
| #define | X 0 |
| #define | Y 1 |
| #define | MIN_VERTS 3 |
| #define | MAX_VERTS 7 |
| #define | TEST_POLYGONS 30 |
| #define | TEST_POINTS 30 |
| #define | ANGLE_TEST_TIMES 1000 |
| #define | BARYCENTRIC_TEST_TIMES 10000 |
| #define | CROSSINGS_TEST_TIMES 10000 |
| #define | MACMARTIN_TEST_TIMES 10000 |
Functions | |
| double | drand48 () |
| main (int argc, argv) | |
| int | angletest (pgon, numverts, point) |
| int | barycentrictest (pgon, numverts, point) |
| int | crossingstest (pgon, numverts, point) |
| int | macmartintest (pgon, numverts, point) |
Variables | |
| double | AngleTimeTotal |
| double | BarycentricTimeTotal |
| double | CrossingsTimeTotal |
| double | MacmartinTimeTotal |
| #define ANGLE_TEST_TIMES 1000 |
Definition at line 44 of file pointpoly.c.
| #define BARYCENTRIC_TEST_TIMES 10000 |
Definition at line 45 of file pointpoly.c.
| #define CROSSINGS_TEST_TIMES 10000 |
Definition at line 46 of file pointpoly.c.
| #define MACMARTIN_TEST_TIMES 10000 |
Definition at line 47 of file pointpoly.c.
| #define MAX_VERTS 7 |
Definition at line 34 of file pointpoly.c.
| #define MIN_VERTS 3 |
Definition at line 33 of file pointpoly.c.
| #define TEST_POINTS 30 |
Definition at line 40 of file pointpoly.c.
| #define TEST_POLYGONS 30 |
Definition at line 37 of file pointpoly.c.
| #define X 0 |
Definition at line 22 of file pointpoly.c.
| #define Y 1 |
Definition at line 23 of file pointpoly.c.
| double drand48 | ( | ) |

| main | ( | int | argc, |
| argv | |||
| ) |
| double AngleTimeTotal |
Definition at line 27 of file pointpoly.c.
| double BarycentricTimeTotal |
Definition at line 28 of file pointpoly.c.
| double CrossingsTimeTotal |
Definition at line 29 of file pointpoly.c.
| double MacmartinTimeTotal |
Definition at line 30 of file pointpoly.c.