SbVec2us(3)
π SbVec2us(3) π
okay bestie, so this is a page from the Coin manual β section 3, the library functions girlies β and today's main character is SbVec2us. no cap, she's a whole vibe. let's get into it β¨
πΈ NAME πΈ
SbVec2us β literally just her name, that's it, that's the whole NAME section, slay π
π¦ SYNOPSIS π¦
first things first, you gotta let her in:
#include <Inventor/SbVec2us.h>
β¨ Public Member Functions β¨
this is the whole friend group, okay? every single one of them:
SbVec2us (const unsigned short v[2])
SbVec2us (unsigned short x, unsigned short y)
SbVec2us (const SbVec2s &v)
SbVec2us (const SbVec2ub &v)
SbVec2us (const SbVec2ui32 &v)
SbVec2us & setValue (const unsigned short v[2])
SbVec2us & setValue (unsigned short x, unsigned short y)
SbVec2us & setValue (const SbVec2s &v)
SbVec2us & setValue (const SbVec2ub &v)
SbVec2us & setValue (const SbVec2ui32 &v)
const unsigned short * getValue (void) const
void getValue (unsigned short &x, unsigned short &y) const
unsigned short & operator[] (int i)
const unsigned short & operator[] (int i) const
int32_t dot (SbVec2us v) const
void negate (void)
SbVec2us & operator*= (int d)
SbVec2us & operator*= (double d)
SbVec2us & operator/= (int d)
SbVec2us & operator/= (double d)
SbVec2us & operator+= (SbVec2us v)
SbVec2us & operator-= (SbVec2us v)
SbVec2us operator- (void) const
that's a LOT of ways to construct and manipulate her and honestly? iconic behavior π
π Protected Attributes π
lowkey the inner workings, highkey protected:
unsigned short vec [2]
π Detailed Description π
β Since
Coin 2.5 π«
so yeah, she's been around since Coin 2.5 β she's not new here, she's a legacy queen π
π Author π
Generated automatically by Doxygen for Coin from the source code.
not me getting emotional over a Doxygen-generated author line π the robots really said "we made this for you bestie" π«Ά
and that's the whole page, fr fr. Version 4.0.10, dated Thu Jun 25 2026 00:00:00 β that's the footer, bestie, and I'm folding it into this cute little sign-off instead of copying the line verbatim π this has been SbVec2us(3) from the Coin manual, thanks for coming to my TED talk, ily, bye πβ¨π¦
π¦ where this page comes from
- fedora 43: Coin4-devel 4.0.10-1.fc43 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 43: Coin4-devel 4.0.10-1.fc43 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 44: Coin4-devel 4.0.10-1.fc44 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 44: Coin4-devel 4.0.10-1.fc44 Β· BSD-3-Clause AND GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms