SbVec2us(3)

πŸ“¦
version 4.0.10 Β· 4 versions
, in fedora 43, fedora 44

πŸ’– 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