SbVec3b(3)
π SbVec3b(3) π
okay so bestie, welcome to the SbVec3b(3) page, straight out of the Library Functions Manual β yes that's the manual's whole name, generic but iconic, we respect it. This is your girl explaining the entire page, top to bottom, nothing skipped, nothing dropped. periodt. π«Ά
β¨ NAME β¨
SbVec3b β that's the name, that's the class, that's the whole assignment. She keeps a vec array of three int8_t values tucked inside her, and this page is her moment. π
π¦ SYNOPSIS π¦
First thing you do, you pull in the header, no debate:
#include <Inventor/SbVec3b.h>
πΈ Public Member Functions πΈ
Here's the full roster, every single one of them, read 'em and weep (affectionately) π:
SbVec3b (const int8_t v[3])
SbVec3b (int8_t x, int8_t y, int8_t z)
SbVec3b (const SbVec3ub &v)
SbVec3b (const SbVec3s &v)
SbVec3b (const SbVec3i32 &v)
SbVec3b (const SbVec3f &v)
SbVec3b (const SbVec3d &v)
SbVec3b & setValue (int8_t v[3])
SbVec3b & setValue (int8_t x, int8_t y, int8_t z)
SbVec3b & setValue (const SbVec3ub &v)
SbVec3b & setValue (const SbVec3s &v)
SbVec3b & setValue (const SbVec3i32 &v)
SbVec3b & setValue (const SbVec3f &v)
SbVec3b & setValue (const SbVec3d &v)
const int8_t * getValue (void) const
void getValue (int8_t &x, int8_t &y, int8_t &z) const
int8_t & operator[] (int i)
const int8_t & operator[] (int i) const
int32_t dot (SbVec3b v) const
void negate (void)
SbVec3b & operator*= (int d)
SbVec3b & operator*= (double d)
SbVec3b & operator/= (int d)
SbVec3b & operator/= (double d)
SbVec3b & operator+= (SbVec3b v)
SbVec3b & operator-= (SbVec3b v)
SbVec3b operator- (void) const
- Seven constructors β she can be built from an
int8_tarray, from three looseint8_ts, or from aSbVec3ub,SbVec3s,SbVec3i32,SbVec3forSbVec3d. Versatile queen, she contains multitudes. π setValueβ seven overloads doing the same energy as the constructors above, just on a vector that already exists. Same list of types, fr fr.getValueβ two flavors: one hands you back aconst int8_t *, the other fills in yourint8_t &x,int8_t &y,int8_t &zby reference. Both areconst, as they should be. π§operator[]β index on in with anint i, and you get back anint8_t &. There's aconsttwin right underneath that gives you aconst int8_t &. Two icons, one vibe check.dotβ takes aSbVec3band returns anint32_t. That's the whole spec, that's what the page says, iykyk.negateβ takesvoid, returnsvoid. Just flips the whole situation in place, no receipts. π- Arithmetic operators β
operator*= (int d),operator*= (double d),operator/= (int d),operator/= (double d),operator+= (SbVec3b v),operator-= (SbVec3b v). All of the=ones hand back aSbVec3b &so you can chain like it's a group chat. π¬ operator- (void) constβ the unary minus, no argument, returns a freshSbVec3bby value. She's giving β¨new objectβ¨, not touching the original.
π Protected Attributes π
int8_t vec [3]
Three int8_ts in an array called vec, and she is protected so mind your business and use the functions above. π«£
π Detailed Description π
β Since β
Coin 2.5 β she's been around since then, an elder stateswoman of vectors, lowkey legendary. π°οΈ
π Author π
Generated automatically by Doxygen for Coin from the source code. So no, a human didn't hand-write this one, it's a robot bestie doing her best. π€
and that's the whole page, bestie, every option, every signature, every attribute, nothing left out. slay. π β¨
Coin β Version 3.1.3 β SbVec3b(3) π¦ mwah, go build something cute with your three int8_ts. π
π¦ 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