DOKK / manpages / debian 10 / libncarg-dev / c_nnpntinitd.3ncarg.en
c_nnpntinitd(3NCARG) NCAR GRAPHICS c_nnpntinitd(3NCARG)

c_nnpntinitd - Enter single point mode

void c_nnpntinitd(int, double [], double [], double []);

void c_nnpntinitd (npnts, x, y, z);

The number of input data points. (npnts > 3)
An array of size npnts containing the X coordinates of the input data points.
An array of size npnts containing the Y coordinates of the input data points.
An array of size npnts containing the functional values of the input data points. That is, z[n] is the value of the input function at coordinate (x[n],y[n]), for 0 <= n < npnts.

This function is invoked when you want to interpolate at individal points. It is an initialization routine that sets up some internal variables and does this initial triangulation. To actually do the interplation, use function c_nnpntd. To terminate single point mode, use the function c_nnpntendd.

To use c_nnpntinitd, load the NCAR Graphics library ngmath.

natgrid, natgrid_params, c_natgridd, c_nnpntd, c_nnpntendd.

Complete documentation for Natgrid is available at URL
http://ngwww.ucar.edu/ngdoc/ng/ngmath/natgrid/nnhome.html

Copyright (C) 2000
University Corporation for Atmospheric Research

The use of this Software is governed by a License Agreement.

March 1997-1998 UNIX