1c_dspnt3d(3NCARG) NCAR GRAPHICS c_dspnt3d(3NCARG)
2
3
4
6 c_dspnt3d - interpolate double precision 3D data at specified points
7
9 void c_dspnt3d(int, double [], double [], double [], double[]
10 int, double [], double [], double [], double *, int *);
11
13 void c_dspnt3d(int n, double xi[], double yi[], double zi[], double ui[],
14 int m, double xo[], double yo[], double zo[], double *uo,
15 int *ier)
16
18 n The number of input data points.
19
20 xi An array containing the X coordinates of the input data
21 points.
22
23 yi An array containing the Y coordinates of the input data
24 points.
25
26 zi An array containing the Z coordinates of the input data
27 points.
28
29 ui An array containing the functional values of the input data
30 points. That is, ui[l] is the value of the input function
31 at coordinate (xi[l],yi[l],zi[l]), for 0 <= l < n .
32
33 m The number of output data points (this may be "1").
34
35 xo An array of dimension m containing the X coordinates of the
36 output data. The values in xo may be in any order.
37
38 yo An array of dimension m containing the Y coordinates of the
39 output data. The values in xo may be in any order.
40
41 zo An array of dimension m containing the Z coordinates of the
42 output data. The values in xo may be in any order.
43
44 uo A pointer to a double. Space for m doubles is allocated for
45 uo by dspnt3d. zo[i] is the interpolated value at point
46 (xo[i],yo[i],zo[i]) for 0 <= i < n .
47
48 ier An error return value. If *ier is returned as 0, then no
49 errors were detected. If *ier is non-zero, then refer to
50 the man page for dsgrid_errors.
51
53 This function is called to interpolate double precision 3D data at a
54 specified point or points.
55
57 To use c_dspnt3d, load the NCAR Graphics library ngmath.
58
60 dsgrid, dsgrid_params.
61
62 Complete documentation for Dsgrid is available at URL
63 http://ngwww.ucar.edu/ngdoc/ng/ngmath/dsgrid/dshome.html
64
66 Copyright (C) 2000
67 University Corporation for Atmospheric Research
68
69 The use of this Software is governed by a License Agreement.
70
71
72
73UNIX September 1997-1998 c_dspnt3d(3NCARG)