Home | Hierarchy | Members | Alphabetical | Related Pages |
#include <mffloat.h>
Inherits deque< wrl::SFFloat >.
Static Public Member Functions | |
static const char * | typeName () |
static FieldTypeId | typeId () |
Friends | |
std::ostream & | operator<< (std::ostream &s, const MFFloat &f) |
MFFloat mf; mf.push_back(SFFloat(1.0f)); // push_back (1.0f); would fail since mf.push_front(SFFloat(2.0f)); // constructor SFFloat(float) is explicit mf[0] = 3.0f; // Valid since SFFloat has operator=(float)
Below is included the documentation for this field type from the ISO standard.
The SFFloat field or event specifies one single-precision floating point number. MFFloat specifies zero or more single-precision floating point numbers. SFFloats and MFFloats are written to the VRML file in ISO C floating point format (see 2.[ISOC]). For example:
fooFloat [ 3.1415926, 12.5e-3, .0001 ]
is an MFFloat field, fooFloat, containing three floating point values.
The initial value of an SFFloat eventOut is 0.0. The initial value of an MFFloat eventOut is [ ].
const char * typeName | ( | ) | [inline, static] |
FieldTypeId typeId | ( | ) | [inline, static] |
std::ostream& operator<< | ( | std::ostream & | s, | |
const MFFloat & | f | |||
) | [friend] |
Generated on 5 Jan 2007 with
![]() |
|