MAT_AE(nged)

compute a rotation matrix from azimuth and elevation angles

πŸ“… published 7.44.0, from nixpkgs unstable

πŸ’… MAT_AE (nged) β€” bestie's guide to spinning things ✨

okay so like, this is part of the BRL-CAD user commands set (nged), and it's honestly such a little icon. It does one thing and it does it well: it takes an azimuth and an elevation and hands you back a rotation matrix. Periodt. πŸŽ€


✨ NAME ✨

mat_ae β€” compute a rotation matrix from azimuth and elevation angles πŸ’«

πŸ¦‹ SYNOPSIS πŸ¦‹

mat_ae azimuth elevation

πŸ’– DESCRIPTION πŸ’–

so the mat_ae command computes a 4x4 rotation matrix from an azimuth and elevation angle pair (both in degrees, bestie, degrees). The result comes back as a 16-element space-separated matrix string, encoded by bn_encode_mat. It's literally the GED wrapper for bn_mat_ae β€” like, that's its whole job. πŸ‘‘

Arguments β€” the two things you're giving it:

  • azimuth β€” the azimuth angle in degrees (rotation around the Z-axis). πŸŒ€
  • elevation β€” the elevation angle in degrees (rotation above/below the XY plane). ⬆️⬇️

🌸 EXAMPLES 🌸

Example 1. Generate a rotation matrix from azimuth and elevation

mged> mat_ae 35 20

Returns the 4x4 rotation matrix corresponding to azimuth 35Β° and elevation 20Β° as a 16-element string. like, sixteen elements. count 'em. πŸ”₯

πŸ‘‘ AUTHOR πŸ‘‘

BRL-CAD Team πŸ’œ (the actual authors, no cap)

🫢 BUG REPORTS 🫢

Reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org. fr fr, if something's acting up, tell them β€” they wanna know. πŸ“§


that's the whole page bb, you ate that πŸ’…βœ¨ β€” sign-off time: this one's from the BRL-CAD user commands collection, MAT_AE(nged), and yes that footer said BRL-CAD, so shoutout to them. πŸŒˆπŸ’–

πŸ“¦ where this page comes from