TDPRPT(3NCARG)

✨ TDPRPT ✨

okay bestie, welcome to the TDPRPT page from the NCAR GRAPHICS manual β€” yes this is that TDPRPT(3NCARG) situation and it's lowkey a whole vibe. sit down, grab a strawberry πŸ“, we're doing 3D-to-2D math together and honestly? it's giving iconic.


🌸 NAME 🌸

TDPRPT β€” so like, you hand it the coordinates of a point in 3-space, and it hands you back the coordinates of that point's projection in the projection plane. that's it. that's the whole job. slay. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

CALL TDPRPT (UI3D, VI3D, WI3D, XI2D, YI2D)

πŸŽ€ C-BINDING SYNOPSIS πŸŽ€

#include <ncarg/ncargC.h>

void c_tdprpt(float ui3d, float vi3d, float wi3d, float *xi2d, float
*yi2d)

πŸ’– DESCRIPTION πŸ’–

okay so the arguments of TDPRPT are literally these, no cap:

  • UI3D, VI3D, and WI3D β€” these are input expressions of type REAL, and they're the coordinates of a point in 3-space. three numbers, one point, very main character. 🌈
  • XI2D and YI2D β€” these are output variables of type REAL, and they come back holding the coordinates of the projection of that point in the projection plane. so it goes in 3D and comes out 2D, like a glow-up but for geometry. ✨

πŸ’œ C-BINDING DESCRIPTION πŸ’œ

the C-binding argument descriptions are the same as the FORTRAN argument descriptions. fr fr. same facts, different syntax, both ate. 🫢


πŸ‘‘ ACCESS πŸ‘‘

to use TDPRPT or c_tdprpt, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c, preferably in that order. don't be chaotic about it bestie, the order matters. 🧚


πŸ”₯ SEE ALSO πŸ”₯

online, the whole friend group: tdclrs, tdctri, tddtri, tdgeti, tdgetr, tdgrds, tdgrid, tdgtrs, tdinit, tditri, tdlbla, tdlbls, tdline, tdlnpa, tdmtri, tdotri, tdpack, tdpack_params, tdpara, tdplch, tdprpa, tdprpi, tdseti, tdsetr, tdsort, tdstri, tdstrs

Copyright (C) 1987-2009 University Corporation for Atmospheric Research The use of this Software is governed by a License Agreement.


and that's the page, bestie πŸ’– that was UNIX, July 1997, and this whole thing is TDPRPT(3NCARG) β€” go project some points, you absolute icon. periodt. πŸ‘‘βœ¨