SbVec3i32(3)

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

πŸ’– 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 3 int32_ts πŸ“
  • SbVec3i32(int32_t x, int32_t y, int32_t z) β€” or just hand her three separate int32_ts, she's flexible πŸ’…
  • SbVec3i32(const SbVec3ui32 &v) β€” glow-up from an SbVec3ui32
  • SbVec3i32(const SbVec3b &v) β€” glow-up from an SbVec3b
  • SbVec3i32(const SbVec3s &v) β€” glow-up from an SbVec3s
  • SbVec3i32(const SbVec3f &v) β€” glow-up from an SbVec3f
  • SbVec3i32(const SbVec3d &v) β€” glow-up from an SbVec3d
  • SbVec3i32 & setValue(const int32_t v[3]) β€” reset her whole vibe from an array of 3 int32_ts, returns herself so you can chain 😌
  • SbVec3i32 & setValue(int32_t x, int32_t y, int32_t z) β€” reset her from three int32_ts, also returns herself
  • SbVec3i32 & setValue(const SbVec3ui32 &v) β€” copy the vibe in from an SbVec3ui32
  • SbVec3i32 & setValue(const SbVec3b &v) β€” copy the vibe in from an SbVec3b
  • SbVec3i32 & setValue(const SbVec3s &v) β€” copy the vibe in from an SbVec3s
  • SbVec3i32 & setValue(const SbVec3f &v) β€” copy the vibe in from an SbVec3f
  • SbVec3i32 & setValue(const SbVec3d &v) β€” copy the vibe in from an SbVec3d
  • const int32_t * getValue(void) const β€” hand over a pointer to the internal int32_t array, no edits allowed πŸ”’
  • void getValue(int32_t &x, int32_t &y, int32_t &z) const β€” or unpack her into three int32_t references, one per axis
  • int32_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 edition
  • int32_t dot(const SbVec3i32 &v) const β€” dot product with another SbVec3i32, returns an int32_t ✨
  • void negate(void) β€” flip all her signs, in place, iconic behaviour
  • SbVec3i32 & operator*=(int d) β€” scale her by an int and keep the result
  • SbVec3i32 & operator*=(double d) β€” scale her by a double and keep the result
  • SbVec3i32 & operator/=(int d) β€” divide her by an int and keep the result
  • SbVec3i32 & operator/=(double d) β€” divide her by a double and keep the result
  • SbVec3i32 & operator+=(const SbVec3i32 &v) β€” add another SbVec3i32 onto her, in place
  • SbVec3i32 & operator-=(const SbVec3i32 &v) β€” subtract another SbVec3i32 from her, in place
  • SbVec3i32 operator-(void) const β€” unary minus, returns a brand new SbVec3i32 with all signs flipped 🌈

πŸ”’ Protected Attributes

  • int32_t vec[3] β€” the actual three int32_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