SODECOMPOSEVEC2F(3iv)
π SoDecomposeVec2f β the 3IV manual, but make it cute π
okay bestie, so this is the manual page for SoDecomposeVec2f, from the 3IV manual section (yes that's the little manual-name tag, consider it folded in, we're not doing boring header lines today). It's a whole engine that takes your 2D vectors and pulls them apart into their little float components. no cap, it's giving "I split things" and honestly? obsessed. π¦
β¨ NAME β¨
SoDecomposeVec2f β decomposes 2D vectors into floating-point values π
like, that's literally the whole job. it decomposes. 2D vectors. into floating-point values. periodt.
πΈ INHERITS FROM πΈ
SoBase > SoFieldContainer > SoEngine > SoDecomposeVec2f
so it's got a whole ancestry going on β it inherits all the way down through SoBase, SoFieldContainer, and SoEngine before it becomes its own main character SoDecomposeVec2f. generational talent fr fr π
β SYNOPSIS β
#include <Inventor/engines/SoCompose.h>
Inputs from class SoDecomposeVec2f:
SoMFVec2f vector
Outputs from class SoDecomposeVec2f:
(SoMFFloat) x
(SoMFFloat) y
Methods from class SoDecomposeVec2f:
SoDecomposeVec2f()
Methods from class SoEngine:
static SoType getClassTypeId()
virtual int getOutputs(SoEngineOutputList &list) const
SoEngineOutput * getOutput(const SbName &outputName) const
SbBool getOutputName(const SoEngineOutput *output, SbName
&outputName) const
SoEngine * copy() const
static SoEngine * getByName(const SbName &name)
static int getByName(const SbName &name, SoEngineList &list)
Methods from class SoFieldContainer:
void setToDefaults()
SbBool hasDefaultValues() const
SbBool fieldsAreEqual(const SoFieldContainer *fc) const
void copyFieldValues(const SoFieldContainer *fc, SbBool
copyConnections = FALSE)
SbBool set(const char *fieldDataString)
void get(SbString &fieldDataString)
virtual int getFields(SoFieldList &resultList) const
virtual SoField * getField(const SbName &fieldName) const
SbBool getFieldName(const SoField *field, SbName &fieldName)
const
SbBool isNotifyEnabled() const
SbBool enableNotify(SbBool flag)
Methods from class SoBase:
void ref()
void unref() const
void unrefNoDelete() const
void touch()
virtual SoType getTypeId() const
SbBool isOfType(SoType type) const
virtual void setName(const SbName &name)
virtual SbName getName() const
π DESCRIPTION π
so this engine takes a 2D vector as input, and decomposes it into two single floating-point values. like it just. pulls them apart. βοΈβ¨
and here's the cute part: the input can have multiple values, which means the engine can decompose several vectors in parallel. multitasking queen behavior, we love to see it π«Ά
π INPUTS π
SoMFVec2fvectorβ Vector to be decomposed. that's the one getting taken apart, bestie.
π§ OUTPUTS π§
(SoMFFloat)xβ First component of the vector. π(SoMFFloat)yβ Second component of the vector. π
π METHODS π
SoDecomposeVec2f()β Constructor. that's it, that's the method, it just exists and it's iconic for it π
π₯ FILE FORMAT/DEFAULTS π₯
DecomposeVec2f {
vector 0 0
}
see that vector 0 0? that's the default. if you don't give it anything, it's just sitting there at the origin, minding its business, zero and zero. lowkey relatable π
π SEE ALSO π
SoComposeVec2fSoEngineOutput
just a lil reminder bestie: every flag, value, default, method signature and reference up there is exactly as it was written β the vibes are mine, the facts are not. π
and that's the whole thing! this was SoDecomposeVec2f(3IV)() β source and version tag included, cute sign-off delivered, slay. go decompose some vectors, you've got this π
β¨πΈ
π¦ where this page comes from
- debian bookworm: inventor-doc 2.1.5-10+dfsg-2 Β· LGPL-2.0-or-later
- debian trixie: inventor-doc 2.1.6+ds-2 Β· LGPL-2.0-or-later
- ubuntu jammy: inventor-doc 2.1.5-10-24
- ubuntu noble: inventor-doc 2.1.5-10+dfsg-2.1build2 Β· LGPL-2.0-or-later
- ubuntu questing: inventor-doc 2.1.6+ds-2
- ubuntu resolute: inventor-doc 2.1.6.1+ds-1 Β· LGPL-2.0-or-later
- ubuntu stonking: inventor-doc 2.1.6.1+ds-1 Β· LGPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms