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

NAME

6       c_dspnt2s - Interpolate at a single point (or points) in 2D in single
7       precision
8

FUNCTION PROTOTYPE

10       void c_dspnt2s(int, float [], float [], float [],
11                      int, float [], float [], float *, int *);
12

SYNOPSIS

14       void c_dspnt2s (int n, float x[], float y[], float z[],
15                       int m, float xo[], float yo[], float zo, int *ier);
16

DESCRIPTION

18       n           The number of input data points.
19
20       x           An array containing the X coordinates of the input data
21                   points.
22
23       y           An array containing the Y coordinates of the input data
24                   points.
25
26       z           An array containing the functional values of the input data
27                   points. That is, z[l] is the value of the input function at
28                   coordinate (x[l],y[l]), for 0 <= l < n .
29
30       m           The number of output data points (this may be "1").
31
32       xo          An array of dimension m containing the X coordinates of the
33                   output data. The values in xo may be in any order.
34
35       yo          An array of dimension m containing the Y coordinates of the
36                   output data. The values in xo may be in any order.
37
38       zo          A pointer to a float. Space for m floats is allocated for
39                   zo by dspnt2s. zo[i] is the interpolated value at point
40                   (xo[i],yo[i]) for 0 <= i < n .
41
42       ier         An error return value. If *ier is returned as 0, then no
43                   errors were detected. If *ier is non-zero, then refer to
44                   the man page for dsgrid_errors.
45

USAGE

47       This function is called when you want to interpolate 2D data at an
48       individual point or points.
49

ACCESS

51       To use c_dspnt2s, load the NCAR Graphics library ngmath.
52

SEE ALSO

54       dsgrid, dsgrid_params.
55
56       Complete documentation for Dsgrid is available at URL
57       http://ngwww.ucar.edu/ngdoc/ng/ngmath/dsgrid/dshome.html
58
60       Copyright (C) 2000
61       University Corporation for Atmospheric Research
62
63       The use of this Software is governed by a License Agreement.
64
65
66
67UNIX                          September 1997-1998            c_dspnt2s(3NCARG)
Impressum