SysTutorials

Linux Manual Pages › Section 3

ncl_c_nnpnts(3)

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/natgrid/nnhome.html

Copyright

Copyright (C) 2000 University Corporation for Atmospheric Research

The use of this Software is governed by a License Agreement.