PLplot  5.15.0
nnai.c File Reference
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <math.h>
#include "nn.h"
#include "delaunay.h"
#include "nan.h"

Go to the source code of this file.

Classes

struct  nn_weights
 
struct  nnai
 

Functions

void nn_quit (const char *format,...)
 
void nnpi_calculate_weights (nnpi *nn)
 
int nnpi_get_nvertices (nnpi *nn)
 
int * nnpi_get_vertices (nnpi *nn)
 
double * nnpi_get_weights (nnpi *nn)
 
void nnpi_normalize_weights (nnpi *nn)
 
void nnpi_reset (nnpi *nn)
 
void nnpi_set_point (nnpi *nn, point *p)
 
nnainnai_build (delaunay *d, int n, double *x, double *y)
 
void nnai_destroy (nnai *nn)
 
void nnai_interpolate (nnai *nn, double *zin, double *zout)
 
void nnai_setwmin (nnai *nn, double wmin)
 

Function Documentation

◆ nn_quit()

void nn_quit ( const char *  format,
  ... 
)

Definition at line 53 of file nncommon.c.

◆ nnai_build()

nnai* nnai_build ( delaunay d,
int  n,
double *  x,
double *  y 
)

Definition at line 64 of file nnai.c.

◆ nnai_destroy()

void nnai_destroy ( nnai nn)

Definition at line 115 of file nnai.c.

◆ nnai_interpolate()

void nnai_interpolate ( nnai nn,
double *  zin,
double *  zout 
)

Definition at line 141 of file nnai.c.

◆ nnai_setwmin()

void nnai_setwmin ( nnai nn,
double  wmin 
)

Definition at line 171 of file nnai.c.

◆ nnpi_calculate_weights()

void nnpi_calculate_weights ( nnpi nn)

Definition at line 259 of file nnpi.c.

◆ nnpi_get_nvertices()

int nnpi_get_nvertices ( nnpi nn)

Definition at line 429 of file nnpi.c.

◆ nnpi_get_vertices()

int * nnpi_get_vertices ( nnpi nn)

Definition at line 437 of file nnpi.c.

◆ nnpi_get_weights()

double * nnpi_get_weights ( nnpi nn)

Definition at line 445 of file nnpi.c.

◆ nnpi_normalize_weights()

void nnpi_normalize_weights ( nnpi nn)

Definition at line 279 of file nnpi.c.

◆ nnpi_reset()

void nnpi_reset ( nnpi nn)

Definition at line 122 of file nnpi.c.

◆ nnpi_set_point()

void nnpi_set_point ( nnpi nn,
point p 
)

Definition at line 421 of file nnpi.c.