#include <stdlib.h>#include <stdio.h>#include <stdarg.h>#include <assert.h>#include <math.h>#include <limits.h>#include <float.h>#include <string.h>#include <errno.h>#include "nan.h"#include "delaunay.h"#include "version.h"Go to the source code of this file.
Defines | |
| #define | BUFSIZE 1024 |
| #define | EPSILON 1.0e-8 |
| #define | NALLOCATED_START 1024 |
Functions | |
| void | nn_quit (char *format,...) |
| int | circle_build (circle *c, point *p1, point *p2, point *p3) |
| int | circle_contains (circle *c, point *p) |
| void | points_thin (int *pn, point **ppoints, int nx, int ny) |
| void | points_generate1 (int nin, point pin[], int nx, int ny, double zoom, int *nout, point **pout) |
| void | points_generate2 (double xmin, double xmax, double ymin, double ymax, int nx, int ny, int *nout, point **pout) |
| static int | str2double (char *token, double *value) |
| void | points_read (char *fname, int dim, int *n, point **points) |
| double | points_scaletosquare (int n, point *points) |
| void | points_scale (int n, point *points, double k) |
Variables | |
| int | nn_verbose = 0 |
| int | nn_test_vertice = -1 |
| NN_RULE | nn_rule = SIBSON |
| #define BUFSIZE 1024 |
Definition at line 39 of file nncommon.c.
| #define EPSILON 1.0e-8 |
Definition at line 41 of file nncommon.c.
| #define NALLOCATED_START 1024 |
Definition at line 389 of file nncommon.c.
Definition at line 64 of file nncommon.c.
Definition at line 94 of file nncommon.c.
| void nn_quit | ( | char * | format, | |
| ... | ||||
| ) |
Definition at line 49 of file nncommon.c.
| void points_generate1 | ( | int | nin, | |
| point | pin[], | |||
| int | nx, | |||
| int | ny, | |||
| double | zoom, | |||
| int * | nout, | |||
| point ** | pout | |||
| ) |
Definition at line 245 of file nncommon.c.
| void points_generate2 | ( | double | xmin, | |
| double | xmax, | |||
| double | ymin, | |||
| double | ymax, | |||
| int | nx, | |||
| int | ny, | |||
| int * | nout, | |||
| point ** | pout | |||
| ) |
Definition at line 330 of file nncommon.c.
| void points_read | ( | char * | fname, | |
| int | dim, | |||
| int * | n, | |||
| point ** | points | |||
| ) |
Definition at line 398 of file nncommon.c.
| void points_scale | ( | int | n, | |
| point * | points, | |||
| double | k | |||
| ) |
Definition at line 526 of file nncommon.c.
| double points_scaletosquare | ( | int | n, | |
| point * | points | |||
| ) |
Definition at line 483 of file nncommon.c.
| void points_thin | ( | int * | pn, | |
| point ** | ppoints, | |||
| int | nx, | |||
| int | ny | |||
| ) |
Definition at line 110 of file nncommon.c.
| static int str2double | ( | char * | token, | |
| double * | value | |||
| ) | [static] |
Definition at line 368 of file nncommon.c.
Definition at line 45 of file nncommon.c.
| int nn_test_vertice = -1 |
Definition at line 44 of file nncommon.c.
| int nn_verbose = 0 |
Definition at line 43 of file nncommon.c.
1.7.1