#include <stdlib.h>#include <stdio.h>#include <limits.h>#include <float.h>#include <string.h>#include <assert.h>#include <math.h>#include "nn.h"#include "delaunay.h"#include "nan.h"#include "hash.h"Go to the source code of this file.
Classes | |
| struct | nnpi |
| struct | nnhpi |
| struct | nn_weights |
Defines | |
| #define | NSTART 10 |
| #define | NINC 10 |
| #define | EPS_SHIFT 1.0e-9 |
| #define | N_SEARCH_TURNON 20 |
| #define | BIGNUMBER 1.0e+100 |
| #define | min(x, y) ( ( x ) < ( y ) ? ( x ) : ( y ) ) |
| #define | max(x, y) ( ( x ) > ( y ) ? ( x ) : ( y ) ) |
Functions | |
| int | circle_build (circle *c, point *p0, point *p1, point *p2) |
| int | circle_contains (circle *c, point *p) |
| void | delaunay_circles_find (delaunay *d, point *p, int *n, int **out) |
| int | delaunay_xytoi (delaunay *d, point *p, int seed) |
| void | nn_quit (char *format,...) |
| nnpi * | nnpi_create (delaunay *d) |
| void | nnpi_destroy (nnpi *nn) |
| void | nnpi_reset (nnpi *nn) |
| static void | nnpi_add_weight (nnpi *nn, int vertex, double w) |
| static double | triangle_scale_get (delaunay *d, triangle *t) |
| static void | nnpi_triangle_process (nnpi *nn, point *p, int i) |
| void | nnpi_calculate_weights (nnpi *nn) |
| void | nnpi_normalize_weights (nnpi *nn) |
| void | nnpi_interpolate_point (nnpi *nn, point *p) |
| void | nnpi_interpolate_points (int nin, point pin[], double wmin, int nout, point pout[]) |
| void | nnpi_setwmin (nnpi *nn, double wmin) |
| void | nnpi_set_point (nnpi *nn, point *p) |
| int | nnpi_get_nvertices (nnpi *nn) |
| int * | nnpi_get_vertices (nnpi *nn) |
| double * | nnpi_get_weights (nnpi *nn) |
| nnhpi * | nnhpi_create (delaunay *d, int size) |
| static void | free_nn_weights (void *data) |
| void | nnhpi_destroy (nnhpi *nn) |
| void | nnhpi_interpolate (nnhpi *nnhpi, point *p) |
| void | nnhpi_modify_data (nnhpi *nnhpi, point *p) |
| void | nnhpi_setwmin (nnhpi *nn, double wmin) |
Definition at line 64 of file nncommon.c.
Definition at line 94 of file nncommon.c.
Definition at line 672 of file delaunay.c.
Definition at line 622 of file delaunay.c.
| void nn_quit | ( | char * | format, | |
| ... | ||||
| ) |
Definition at line 49 of file nncommon.c.
| static void nnpi_add_weight | ( | nnpi * | nn, | |
| int | vertex, | |||
| double | w | |||
| ) | [static] |
1.7.1