1c_nnpntinitd(3NCARG) NCAR GRAPHICS c_nnpntinitd(3NCARG)
2
3
4
6 c_nnpntinitd - Enter single point mode
7
9 void c_nnpntinitd(int, double [], double [], double []);
10
12 void c_nnpntinitd (npnts, x, y, z);
13
15 npnts The number of input data points. (npnts > 3)
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_nnpntd. To terminate single point mode,
33 use the function c_nnpntendd.
34
36 To use c_nnpntinitd, load the NCAR Graphics library ngmath.
37
39 natgrid, natgrid_params, c_natgridd, c_nnpntd, c_nnpntendd.
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 This documentation is free software; you can redistribute it and/or
49 modify it under the terms of the GNU General Public License as
50 published by the Free Software Foundation; either version 2 of the
51 License, or (at your option) any later version.
52
53 This software is distributed in the hope that it will be useful, but
54 WITHOUT ANY WARRANTY; without even the implied warranty of
55 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
56 General Public License for more details.
57
58 You should have received a copy of the GNU General Public License along
59 with this software; if not, write to the Free Software Foundation,
60 Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
61
62
63
64
65UNIX March 1997-1998 c_nnpntinitd(3NCARG)