c_nnpnts(3NCARG)
π NAME π
c_nnpnts β interpolate at a single point, bestie. one (1) point. that's the whole job. slay.
this one lives in the NCAR GRAPHICS manual, section 3NCARG, so if you're the kind of person who reads manpages for fun (me, hi, it's me) you're in the right place π
β¨ FUNCTION PROTOTYPE β¨
void c_nnpnts(float, float, float *);
look at her. three floats walk into a bar and one of them is a pointer. iconic behavior, no notes π
πΈ SYNOPSIS πΈ
void c_nnpntinits (x, y, z);
ok so yes, the synopsis is showing you c_nnpntinits and not c_nnpnts β that's literally what the page says, so I'm keeping it exactly like that. don't come for me, come for the manpage π
π¦ DESCRIPTION π¦
xβ the X coordinate of the point where you want the interpolation to happen. like, where are we, girl. on the X axis. that's where.yβ the Y coordinate of the point where interpolation is desired. same energy, different axis. the two of them together = your point.zβ*zis the interpolated functional value at the point(X,Y). she's a pointer, so the answer gets written back through her. main character output parameter energy π
π₯ USAGE π₯
so here's the tea: you call this function when you want to interpolate at an individal point. yep, "individal." that's the spelling on the page. we're keeping it. it's canon now. π«Ά
the order of operations is not negotiable, bestie:
c_nnpntinitsmust be called before you callc_nnpnts. no shortcuts. no "but what if I justβ" no.- then you get to call
c_nnpntsand vibe. - and when you're done with single point mode,
c_nnpntendmust be called to terminate it. you can't just walk away. close the door behind you. π
lowkey this is a little lifecycle, a little ritual. init β point β end. do it in that order or nothing works and you'll be sad about it.
π ACCESS π
to use c_nnpnts, load the NCAR Graphics library ngmath. that's it, that's the door code. π§
β SEE ALSO β
go read these too, they're the friend group:
natgridnatgrid_paramsc_natgridsc_nnpntinitsc_nnpntend
and the full, complete documentation for Natgrid is right here, no cap:
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.
okay that's the whole page, bestie β stay interpolating, stay hydrated πβ¨
c_nnpnts, from the NCAR GRAPHICS manual, section 3NCARG β this little gem is dated March 1997-1998 down in the footer, and the footer also tags the platform as UNIX. periodt. ππ¦
π¦ where this page comes from
- epel 9: ncl-devel 6.6.2-59.el9 Β· LicenseRef-Callaway-BSD
- fedora 43: ncl-devel 6.6.2-58.fc43 Β· LicenseRef-Callaway-BSD
- fedora 44: ncl-devel 6.6.2-62.fc44 Β· LicenseRef-Callaway-BSD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms