#include <kfbxtypes.h>
Property used to store half-float (16 bit float) number. This class only holds the value in 2 byte buffer (unsigned short). There is no direct math manipulation of this type except for the conversion to/from float. On disk, this type is also saved as an unsigned short.
Definition at line 498 of file kfbxtypes.h.
| Constructors | |
| fbxHalfFloat () | |
| fbxHalfFloat (float pVal) | |
| fbxHalfFloat (const fbxHalfFloat &pVal) | |
| Assignment operation | |
| fbxHalfFloat & | operator= (fbxHalfFloat const &pValue) | 
| Assign operator. | |
| boolean operation | |
| bool | operator== (fbxHalfFloat const &pRHS) const | 
| Equivalence operator. | |
| bool | operator!= (fbxHalfFloat const &pRHS) const | 
| Non-equivalence operator. | |
| Access | |
| float const | value () const | 
| Retrieve the value as a float. | |
| unsigned short const | internal_value () const | 
| Retrieve the value as it is stored. | |
| fbxHalfFloat& operator= | ( | fbxHalfFloat const & | pValue | ) | [inline] | 
Assign operator.
| pValue | The half-float to be assigned to this distance. | 
Definition at line 519 of file kfbxtypes.h.
References mValue.
| bool operator== | ( | fbxHalfFloat const & | pRHS | ) | const [inline] | 
Equivalence operator.
| pRHS | The half-float to be compared with this one. | 
True, if the two values are equal,
false otherwise.Definition at line 535 of file kfbxtypes.h.
References mValue.
| bool operator!= | ( | fbxHalfFloat const & | pRHS | ) | const [inline] | 
Non-equivalence operator.
| pRHS | The half-float to be compared with this one | 
True, if the two values are unequal,
false otherwise.Definition at line 541 of file kfbxtypes.h.
| float const value | ( | ) | const [inline] | 
Retrieve the value as a float.
Definition at line 550 of file kfbxtypes.h.
| unsigned short const internal_value | ( | ) | const [inline] | 
Retrieve the value as it is stored.
Definition at line 554 of file kfbxtypes.h.