SbVec3i32(3)
π SbVec3i32 π
okay bestie, welcome to the Coin manual, page SbVec3i32(3). this is the 3D integer vector of your dreams, no cap. she holds three int32_t values and she's ready to serve. let's get into it π
β¨ NAME β¨
SbVec3i32 β literally the moment, the icon, the three-component vector of 32-bit signed integers π
πΈ SYNOPSIS πΈ
#include <Inventor/SbVec3i32.h>
π«Ά Public Member Functions
SbVec3i32(const int32_t v[3])β build her from a lil array of 3int32_ts πSbVec3i32(int32_t x, int32_t y, int32_t z)β or just hand her three separateint32_ts, she's flexible πSbVec3i32(const SbVec3ui32 &v)β glow-up from anSbVec3ui32SbVec3i32(const SbVec3b &v)β glow-up from anSbVec3bSbVec3i32(const SbVec3s &v)β glow-up from anSbVec3sSbVec3i32(const SbVec3f &v)β glow-up from anSbVec3fSbVec3i32(const SbVec3d &v)β glow-up from anSbVec3dSbVec3i32 & setValue(const int32_t v[3])β reset her whole vibe from an array of 3int32_ts, returns herself so you can chain πSbVec3i32 & setValue(int32_t x, int32_t y, int32_t z)β reset her from threeint32_ts, also returns herselfSbVec3i32 & setValue(const SbVec3ui32 &v)β copy the vibe in from anSbVec3ui32SbVec3i32 & setValue(const SbVec3b &v)β copy the vibe in from anSbVec3bSbVec3i32 & setValue(const SbVec3s &v)β copy the vibe in from anSbVec3sSbVec3i32 & setValue(const SbVec3f &v)β copy the vibe in from anSbVec3fSbVec3i32 & setValue(const SbVec3d &v)β copy the vibe in from anSbVec3dconst int32_t * getValue(void) constβ hand over a pointer to the internalint32_tarray, no edits allowed πvoid getValue(int32_t &x, int32_t &y, int32_t &z) constβ or unpack her into threeint32_treferences, one per axisint32_t & operator[](int i)β index into her, and yes you can write to it, main character privileges πconst int32_t & operator[](int i) constβ index into her when she's const, read-only editionint32_t dot(const SbVec3i32 &v) constβ dot product with anotherSbVec3i32, returns anint32_tβ¨void negate(void)β flip all her signs, in place, iconic behaviourSbVec3i32 & operator*=(int d)β scale her by anintand keep the resultSbVec3i32 & operator*=(double d)β scale her by adoubleand keep the resultSbVec3i32 & operator/=(int d)β divide her by anintand keep the resultSbVec3i32 & operator/=(double d)β divide her by adoubleand keep the resultSbVec3i32 & operator+=(const SbVec3i32 &v)β add anotherSbVec3i32onto her, in placeSbVec3i32 & operator-=(const SbVec3i32 &v)β subtract anotherSbVec3i32from her, in placeSbVec3i32 operator-(void) constβ unary minus, returns a brand newSbVec3i32with all signs flipped π
π Protected Attributes
int32_t vec[3]β the actual threeint32_ts doing all the work behind the scenes, protected so only her subclasses can touch π
π Detailed Description π
she's a three-component vector, and every component is an int32_t. that's the whole vibe. simple, effective, slay π
β Since
Coin 2.5 β she's been on the scene since Coin 2.5, a true veteran of the game, and she's still eating π«Ά
π¦ Author π¦
Generated automatically by Doxygen for Coin from the source code. so like, not a person, but we still appreciate her fr fr π
okay that's the whole page bestie!! version 4.0.10, dated Thu Jun 25 2026 00:00:00 β that's the footer, and honestly? she's timeless. go build your vectors, you got this ππ
β¨
π¦ 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