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:

  • XCP1 and YCP1 β€” (input expressions of type REAL) β€” the parallelogram coordinates of a point in the reference parallelogram (as defined by the last call to TDPARA). 🫢
  • XCP2 and YCP2 β€” (input expressions of type REAL) β€” 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 (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. πŸ’…βœ¨πŸ¦‹