POINT3(3NCARG)

πŸ’– POINT3 πŸ’– β€” it's giving NCAR GRAPHICS, bestie

okay so real talk, this is a page from the NCAR Graphics manual, and it's about drawing one single point in 3-space. tiny function, huge main character energy. let's go πŸ¦‹


✨ NAME ✨

POINT3 β€” draws the projection of a point in 3-space. that's it, that's the whole job, and she does it flawlessly πŸ’…


🌸 SYNOPSIS 🌸

CALL POINT3 (U,V,W)

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

#include <ncarg/ncargC.h>

void c_point3 (float u, float v, float w)

πŸ‘‘ DESCRIPTION πŸ‘‘

  • U,V,W β€” (input expressions of type REAL) these are literally the coordinates of a point in 3-space. that's the whole vibe. no cap. ✨

Every single point gets drawn by calling the GKS routine GPM to draw a polymarker of type 1. so points show up in whatever the current polymarker color is, which is decided by the last call to the GKS routine GSPMCI. by default? color index 1, periodt. 🎨

⚠️ okay bestie, listen up, this part matters: calling the GKS routine GSMKSC to change the polymarker size does not normally affect polymarkers of type 1. so there's genuinely no good way to make the points bigger through that route 😭. if you want chunky points, you should use LINE3 (or maybe FRST3 and VECT3) instead of POINT3 to draw an object of the size you're dreaming of. slay responsibly. 🫢

🌈 C-BINDING DESCRIPTION 🌈

the C-binding argument descriptions are the same as the FORTRAN argument descriptions. same energy, different language, we love a bilingual icon πŸ’œ


πŸ“ EXAMPLES πŸ“

use the ncargex command to see the following relevant examples, they're all iconic fr fr:

  • fthex01
  • fthex02
  • fthex03
  • fthex04
  • fthex05

πŸ”₯ ACCESS πŸ”₯

to use POINT3 or c_point3, you gotta load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c β€” preferably in that order. do not freestyle the order, i'm begging πŸ™ˆ


🧚 SEE ALSO 🧚

Online: threed, curve3, fence3, frst3, line3, perim3, psym3, pwrz, pwrzt, set3, threed, tick3, tick43, vect3, ncarg_cbind.

(yes threed is listed twice, and honestly? she deserves the double shoutout. no notes. πŸ’€)

Hardcopy: NCAR Graphics Fundamentals, UNIX Version


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, you ate it, you understood it, you're literally a 3D point-drawing genius now 🌟

sign-off: this page lives in the UNIX manual, dated March 1993, and it's filed under POINT3(3NCARG). mwah πŸ’‹ go draw something cute.