ncl_c_nnpnts man page

c_nnpnts — interpolate at a single point

Function Prototype

void c_nnpnts(float, float, float *);

Synopsis

void c_nnpntinits (x, y, z);

Description

x
The X coordinate of the point where interpolation is desired.
y
The Y coordinate of the point where interpolation is desired.
z
*z is the interpolated functional value at the point (X,Y).

Usage

This function is invoked when you want to interpolate at an individal point. c_nnpntinits must be called prior to calling c_nnpnts. c_nnpntend must be called to terminate single point mode.

Access

To use c_nnpnts, load the NCAR Graphics library ngmath.

See Also

natgrid, natgrid_params, c_natgrids, c_nnpntinits, c_nnpntend.

Complete documentation for Natgrid is available at URL
http://ngwww.ucar.edu/ngdoc/ng/ngmath/n…

Info

March 1997-1998 UNIX NCAR GRAPHICS