GSSGT(3NCARG)

πŸ“¦ version 6.6.2, in epel 9, fedora 43, fedora 44

✨ GSSGT (Set segment transformation) ✨

okay so bestie, welcome to the NCAR GRAPHICS corner of the manual πŸ’– this one lives in section 3NCARG and it's literally called GSSGT β€” Set segment transformation. and yes, it does exactly what it says on the tin: it associates a segment transformation with a named segment πŸ¦‹


πŸŽ€ NAME πŸŽ€

GSSGT (Set segment transformation) β€” associates a segment transformation with a named segment. that's it. that's the whole job. iconic. πŸ‘‘


🌸 SYNOPSIS 🌸

CALL GSSGT(SGNA,M)

like… two arguments. two. we love a low-effort queen πŸ’…


πŸ¦‹ C-BINDING SYNOPSIS πŸ¦‹

for my C girlies ✨

#include <ncarg/gks.h>

void gset_seg_tran(Gint seg_name, const Gtran_matrix tran_matrix);

no cap, if you're in C-land this is your door πŸšͺπŸ’–


⭐ DESCRIPTION ⭐

let's do a vibe check on the args, shall we?

  • SGNA β€” (Integer, Input) β€” a segment name, as used in a previous GCRSG call. so like, you already made this segment, now you're naming it again. bestie behaviour fr fr. 🫢
  • M β€” (Real, Input) β€” a 2x3 array giving the GKS segment transformation to be associated with the segment specified in SGNA. two rows, three columns, no more no less. it's giving precise. πŸ“βœ¨

πŸ’œ USAGE πŸ’œ

here's the tea β˜• β€” when the segment named in SGNA is displayed, the coordinates of its primitives get transformed by the matrix specified in M. that's the whole plot twist. your primitives get moved, scaled, rotated, whatever that matrix says. main character energy honestly πŸ’«


πŸ”₯ ACCESS πŸ”₯

to use GKS routines, load the NCAR GKS-0A library ncarg_gks. no library, no vibes. periodt. πŸ’…


🌈 SEE ALSO 🌈

Online: gactm, gevtm, gclsg, gcrsg, gcsgwk, gdsg, gqopsg, gqsgus., gset_seg_tran

Hardcopy: "User's Guide for NCAR GKS-0A Graphics" πŸ“–

go read the friends, they're all in the same group chat iykyk 🧚


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

okay so legally speaking: it's theirs, it's licensed, read the agreement, don't be weird about it πŸ™ˆ

and that's the whole page bestie!! πŸ“ source + version + date check: this dropped as UNIX, March 1993, page GSSGT(3NCARG). she's old but she ate and left no crumbs πŸ’–βœ¨ slay, go transform some segments πŸ¦‹

πŸ“¦ where this page comes from