SbVec2ui32(3)
π 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
- fedora 43: Coin3-devel 3.1.3-40.fc43 Β· GPL-2.0-only
- fedora 43: Coin3-devel 3.1.3-40.fc43 Β· GPL-2.0-only
- fedora 44: Coin3-devel 3.1.3-42.fc44 Β· GPL-2.0-only
- fedora 44: Coin3-devel 3.1.3-42.fc44 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms