Home | Hierarchy | Members | Alphabetical | Related Pages |
#include <mfvec2f.h>
Inherits deque.
Static Public Member Functions | |
static const char * | typeName () |
static FieldTypeId | typeId () |
Friends | |
std::ostream & | operator<< (std::ostream &s, const MFVec2f &f) |
MFVec2f mf; mf.push_back(SFVec2f(0.0f,0.0f)); mf.push_front(SFVec2f(1.0f,0.0f)); mf[0].setX(1.0f);
Below is included the documentation for this field type from the ISO standard.
The SFVec2f field or event specifies a two-dimensional (2D) vector. An MFVec2f field or event specifies zero or more 2D vectors. SFVec2f's and MFVec2f's are written to the VRML file as a pair of ISO C floating point values (see 2.[ISOC]) separated by whitespace. For example:
fooVec2f [ 42 666, 7 94 ]
is an MFVec2f field, fooVec2f, with two valid vectors.
The initial value of an SFVec2f eventOut is (0 0). The initial value of an MFVec2f eventOut is [ ].
const char * typeName | ( | ) | [inline, static] |
FieldTypeId typeId | ( | ) | [inline, static] |
std::ostream& operator<< | ( | std::ostream & | s, | |
const MFVec2f & | f | |||
) | [friend] |
Generated on 5 Jan 2007 with
![]() |
|