1c_dspnt3s(3NCARG)                NCAR GRAPHICS               c_dspnt3s(3NCARG)
2
3
4

NAME

6       c_dspnt3s - interpolate single precision 3D data at specified points
7

FUNCTION PROTOTYPE

9       void c_dspnt3s(int, float [], float [], float [], float[]
10       int, float [], float [], float [], float *, int *);
11

SYNOPSIS

13       void c_dspnt3d(int n, float xi[], float yi[], float zi[], float ui[],
14                      int m, float xo[], float yo[], float zo[], float *uo,
15                      int *ier)
16

DESCRIPTION

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 float. Space for m floats 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

USAGE

53       This function is called to interpolate single precision 3D data at a
54       specified point or points.
55

ACCESS

57       To use c_dspnt3s, load the NCAR Graphics library ngmath.
58

SEE ALSO

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       This documentation is free software; you can redistribute it and/or
70       modify it under the terms of the GNU General Public License as
71       published by the Free Software Foundation; either version 2 of the
72       License, or (at your option) any later version.
73
74       This software is distributed in the hope that it will be useful, but
75       WITHOUT ANY WARRANTY; without even the implied warranty of
76       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
77       General Public License for more details.
78
79       You should have received a copy of the GNU General Public License along
80       with this software; if not, write to the Free Software Foundation,
81       Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
82
83
84
85
86UNIX                          September 1997-1998            c_dspnt3s(3NCARG)
Impressum