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, andWI3Dβ 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. πXI2DandYI2Dβ 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 π
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. πβ¨
π¦ 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