Open Inventor Reference
|
Field containing a two-dimensional vector. More...
#include <Inventor/fields/SoSFVec2f.h>
Public Member Functions | |
void | setValue (float x, float y) |
Sets the field to the given value. | |
void | setValue (const float xy[2]) |
Sets the field to the given value. | |
Static Public Member Functions | |
static void | initClass () |
Field containing a two-dimensional vector.
SoSFVec2fs are written to file as a pair of floating point values separated by whitespace.
Definition at line 79 of file SoSFVec2f.h.
static void SoSFVec2f::initClass | ( | ) | [static] |
Reimplemented from SoSField.
void SoSFVec2f::setValue | ( | float | x, |
float | y | ||
) |
void SoSFVec2f::setValue | ( | const float | xy[2] | ) |