TDLNPA(3NCARG)
π TDLNPA β it's giving "draw a line" π
okay so bestie, welcome to TDLNPA, a lil routine from the NCAR Graphics fam (that's the 3NCARG manual section, iykyk). The β¨vibeβ¨? You hand it two points that live in the reference parallelogram, and it draws the projection of the line that joins them. That's it. That's the whole gig. Slay. π
πΈ NAME πΈ
TDLNPA β Given the coordinates of two points in the reference parallelogram, draw the projection of the line joining them.
β¨ SYNOPSIS β¨
CALL TDLNPA (XCP1, YCP1, XCP2, YCP2)
π¦ C-BINDING SYNOPSIS π¦
#include <ncarg/ncargC.h>
void c_tdlnpa(float xcp1, float ycp1, float xcp2, float ycp2)
π DESCRIPTION π
so the arguments of TDLNPA are literally these four cuties:
XCP1andYCP1β (input expressions of typeREAL) β the parallelogram coordinates of a point in the reference parallelogram (as defined by the last call toTDPARA). π«ΆXCP2andYCP2β (input expressions of typeREAL) β the parallelogram coordinates of another point in the reference parallelogram.
lowkey important: both points gotta be in the reference parallelogram, and that parallelogram is the one your most recent call to TDPARA set up. not me stressing the "last call" part β fr fr, it matters. π
π§ C-BINDING DESCRIPTION π§
The C-binding argument descriptions are the same as the FORTRAN argument descriptions. same energy, different language, no notes. π
π ACCESS π
To use TDLNPA or c_tdlnpa, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c β preferably in that order. (yes bestie, the order is the moment. trust. π)
π₯ SEE ALSO π₯
Online: tdclrs, tdctri, tddtri, tdgeti, tdgetr, tdgrds, tdgrid, tdgtrs, tdinit, tditri, tdlbla, tdlbls, tdline, tdmtri, tdotri, tdpack, tdpack_params, tdpara, tdplch, tdprpa, tdprpi, tdprpt, tdseti, tdsetr, tdsort, tdstri, tdstrs
like a whole friend group honestly. go say hi. π
π COPYRIGHT π
Copyright (C) 1987-2009 University Corporation for Atmospheric Research The use of this Software is governed by a License Agreement.
okay that's the whole page, bestie. it's the UNIX version, dated July 1997, and yeah β TDLNPA(3NCARG) ate and left no crumbs. now go draw that line. π
β¨π¦
π¦ 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