SbVec2ui32(3)

πŸ“¦ version 3.1.3, in fedora 43, fedora 44

πŸ’– SbVec2ui32 πŸ’–

okay bestie, gather round, because today we're talking about SbVec2ui32 from the Coin library β€” it's a lil 2D vector of unsigned 32-bit integers and honestly? it's giving "small but mighty" 🫢


✨ SYNOPSIS ✨

first things first, you gotta pull it in:

#include <Inventor/SbVec2ui32.h>

🌸 Public Member Functions 🌸

here's the whole squad, no gatekeeping:

SbVec2ui32 (const uint32_t v[2])
SbVec2ui32 (uint32_t x, uint32_t y)
SbVec2ui32 (const SbVec2i32 &v)
SbVec2ui32 (const SbVec2ub &v)
SbVec2ui32 (const SbVec2us &v)
SbVec2ui32 & setValue (const uint32_t v[2])
SbVec2ui32 & setValue (uint32_t x, uint32_t y)
SbVec2ui32 & setValue (const SbVec2i32 &v)
SbVec2ui32 & setValue (const SbVec2ub &v)
SbVec2ui32 & setValue (const SbVec2us &v)
const uint32_t * getValue (void) const
void getValue (uint32_t &x, uint32_t &y) const
uint32_t & operator[] (int i)
const uint32_t & operator[] (int i) const
int32_t dot (const SbVec2ui32 &v) const
void negate (void)
SbVec2ui32 & operator*= (int d)
SbVec2ui32 & operator*= (double d)
SbVec2ui32 & operator/= (int d)
SbVec2ui32 & operator/= (double d)
SbVec2ui32 & operator+= (const SbVec2ui32 &v)
SbVec2ui32 & operator-= (const SbVec2ui32 &v)
SbVec2ui32 operator- (void) const

so many ways to make one and so many ways to mess with it after πŸ’…

πŸ”’ Protected Attributes πŸ”’

uint32_t vec [2]

yep, that's the whole storage. two uint32_ts living their truth in an array called vec. protected, so it's iykyk territory πŸ™ˆ


πŸ¦‹ Detailed Description πŸ¦‹

⭐ Since ⭐

Coin 2.5 β€” that's when this cutie entered the chat, so if you're on anything older... no she didn't πŸ’€

heads up bestie: this whole page is just the class reference. the real behaviour lives in the source, so peek there if you need the deep lore.

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for Coin from the source code. β€” so nobody hand-wrote this, it's a robot's magnum opus, and honestly? she ate ✨


and that's the whole vibe check, bestie β€” this page is straight out of Coin, Version 3.1.3, filed under the manual name SbVec2ui32 in the Library Functions Manual. mwah, go forth and vector responsibly πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from