SOSFVEC2F(3iv)
π SoSFVec2f π
okay bestie, welcome to the SoSFVec2f page from the 3IV manual β yes that's the manual name, we're keeping it, it's iconic π
β¨ NAME β¨
SoSFVec2f β a field that's holding a whole two-dimensional vector, and she's thriving π¦
πΈ INHERITS FROM πΈ
SoField > SoSField > SoSFVec2f
like... the family tree ate, no cap π
β SYNOPSIS β
#include <Inventor/fields/SoSFVec2f.h>
Methods from class SoSFVec2f:
void setValue(float x, float y)
void setValue(const float xy[2])
static SoType getClassTypeId()
virtual void getTypeId() const
const SbVec2f & getValue() const
const SbVec2f & operator =(const SbVec2f & newValue)
void setValue(const SbVec2f & newValue)
int operator ==(const SoSFVec2f &f) const
int operator !=(const SoSFVec2f &f) const
Methods from class SoField (the inheritance giving, we love to see it):
void setIgnored(SbBool ignore)
SbBool isIgnored() const
SbBool isDefault() const
virtual SbBool isOfType(SoType type) const
SbBool set(const char *valueString)
void get(SbString &valueString)
void touch()
SbBool connectFrom(SoField *fromField)
SbBool connectFrom(SoEngineOutput *fromEngine)
void disconnect()
SbBool isConnected() const
SbBool isConnectedFromField() const
SbBool getConnectedField(SoField *&writingField) const
SbBool isConnectedFromEngine() const
SbBool getConnectedEngine(SoEngineOutput *&engineOutput)
const
void enableConnection(SbBool flag)
SbBool isConnectionEnabled() const
int getForwardConnections(SoFieldList &list) const
SoFieldContainer * getContainer() const
π DESCRIPTION π
Bestie. It's a field containing a two-dimensional vector. That's the whole vibe. β¨
When an SoSFVec2f gets written out to a file, it shows up as a pair of floating point values separated by whitespace. so like, two lil numbers, vibing, space between them, periodt π«
π METHODS π
void setValue(float x, float y)void setValue(const float xy[2])
Sets the field to the given value. drop the numbers in, she's set, done π«Ά
static SoType getClassTypeId()virtual void getTypeId() const
Returns the type for this class, or for a particular object of this class. iykyk β one's for the class, one's for the specific instance π
const SbVec2f & getValue() const
Returns this field's value. hand it over queen π
const SbVec2f & operator =(const SbVec2f & newValue)void setValue(const SbVec2f & newValue)
Sets this field to newValue. same energy, two ways in π
int operator ==(const SoSFVec2f &f) constint operator !=(const SoSFVec2f &f) const
Returns TRUE if f is of the same type and has the same value as this field. both boxes gotta be checked bestie, no shortcuts π₯
π¦ SEE ALSO π¦
SoField, SoSField, SoMFVec2f
lowkey if you're messing with vectors in the multi-version (SoMFVec2f) you already know what time it is π
okay that's the whole page, thanks for coming to my ted talk β this was SoSFVec2f(3IV)() from the 3IV manual, mwah π πβ¨
π¦ 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