1c_nnpntinits(3NCARG) NCAR GRAPHICS c_nnpntinits(3NCARG)
2
3
4
6 c_nnpntinits - Enter single point mode
7
9 void c_nnpntinits(int, float [], float [], float []);
10
12 void c_nnpntinits (npnts, x, y, z);
13
15 npnts The number of input data points. (npnts > 2)
16
17 x An array of size npnts containing the X coordinates of the
18 input data points.
19
20 y An array of size npnts containing the Y coordinates of the
21 input data points.
22
23 z An array of size npnts containing the functional values of
24 the input data points. That is, z[n] is the value of the
25 input function at coordinate (x[n],y[n]), for 0 <= n <
26 npnts.
27
29 This function is invoked when you want to interpolate at individal
30 points. It is an initialization routine that sets up some internal
31 variables and does this initial triangulation. To actually do the
32 interplation, use function c_nnpnts. To terminate single point mode,
33 use the function c_nnpntend.
34
36 To use c_nnpntinits, load the NCAR Graphics library ngmath.
37
39 natgrid, natgrid_params, c_natgrids, c_nnpnts, c_nnpntend.
40
41 Complete documentation for Natgrid is available at URL
42 http://ngwww.ucar.edu/ngdoc/ng/ngmath/natgrid/nnhome.html
43
45 Copyright (C) 2000
46 University Corporation for Atmospheric Research
47
48 The use of this Software is governed by a License Agreement.
49
50
51
52UNIX March 1997-1998 c_nnpntinits(3NCARG)