1SoSFVec2f(3IV)()                                              SoSFVec2f(3IV)()
2
3
4

NAME

6       SoSFVec2f — Field containing a two-dimensional vector
7

INHERITS FROM

9       SoField > SoSField > SoSFVec2f
10

SYNOPSIS

12       #include <Inventor/fields/SoSFVec2f.h>
13
14          Methods from class SoSFVec2f:
15
16     void                setValue(float x, float y)
17     void                setValue(const float xy[2])
18     static SoType       getClassTypeId()
19     virtual void        getTypeId() const
20     const SbVec2f &     getValue() const
21     const SbVec2f &     operator =(const SbVec2f & newValue)
22     void                setValue(const SbVec2f & newValue)
23     int                 operator ==(const SoSFVec2f &f) const
24     int                 operator !=(const SoSFVec2f &f) const
25
26          Methods from class SoField:
27
28     void                setIgnored(SbBool ignore)
29     SbBool              isIgnored() const
30     SbBool              isDefault() const
31     virtual SbBool      isOfType(SoType type) const
32     SbBool              set(const char *valueString)
33     void                get(SbString &valueString)
34     void                touch()
35     SbBool              connectFrom(SoField *fromField)
36     SbBool              connectFrom(SoEngineOutput *fromEngine)
37     void                disconnect()
38     SbBool              isConnected() const
39     SbBool              isConnectedFromField() const
40     SbBool              getConnectedField(SoField *&writingField) const
41     SbBool              isConnectedFromEngine() const
42     SbBool              getConnectedEngine(SoEngineOutput     *&engineOutput)
43                              const
44     void                enableConnection(SbBool flag)
45     SbBool              isConnectionEnabled() const
46     int                 getForwardConnections(SoFieldList &list) const
47     SoFieldContainer *  getContainer() const
48
49

DESCRIPTION

51       Field containing a two-dimensional vector.
52
53       SoSFVec2fs are written to file as a pair of floating point values sepa‐
54       rated by whitespace.
55

METHODS

57     void                setValue(float x, float y)
58     void                setValue(const float xy[2])
59          Sets the field to the given value.
60
61     static SoType       getClassTypeId()
62     virtual void        getTypeId() const
63          Returns  the  type  for  this  class  or a particular object of this
64          class.
65
66     const SbVec2f &     getValue() const
67          Returns this field's value.
68
69     const SbVec2f &     operator =(const SbVec2f & newValue)
70     void                setValue(const SbVec2f & newValue)
71          Sets this field to newValue.
72
73     int                 operator ==(const SoSFVec2f &f) const
74     int                 operator !=(const SoSFVec2f &f) const
75          Returns TRUE if f is of the same type and has the same value as this
76          field.
77
78

SEE ALSO

80       SoField, SoSField, SoMFVec2f
81
82
83
84
85                                                              SoSFVec2f(3IV)()
Impressum