Home | Hierarchy | Members | Alphabetical | Related Pages |
#include <sffloat.h>
Public Member Functions | |
SFFloat () | |
SFFloat (const float b) | |
SFFloat & | operator= (const float b) |
SFFloat & | operator= (const SFFloat b) |
operator float () const | |
float | operator== (const SFFloat &b) |
Static Public Member Functions | |
const char * | typeName () |
FieldTypeId | typeId () |
Friends | |
std::ostream & | operator<< (std::ostream &s, const SFFloat &f) |
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 [ ].
|
Creates a SFFloat with default value 0.0f. |
|
Creates a SFFloat with value |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Generated on 24 Feb 2005 with version 1.3.9.1. |