Simox
2.3.74.0
|
Public Types | |
enum | UnitsType { eAngle, eLength, eWeight, eTime, eIgnore } |
Public Member Functions | |
Units (const std::string &unitName) | |
bool | isRadian () |
bool | isDegree () |
bool | isAngle () |
float | toRadian (float m) |
float | toDegree (float m) |
bool | isMillimeter () |
bool | isMeter () |
bool | isLength () |
float | toMillimeter (float m) |
float | toMeter (float m) |
bool | isGram () |
bool | isKilogram () |
bool | isTon () |
bool | isWeight () |
float | toGram (float m) |
float | toKilogram (float m) |
float | toTon (float m) |
bool | isSecond () |
bool | isMinute () |
bool | isHour () |
bool | isTime () |
float | toSecond (float m) |
float | toMinute (float m) |
float | toHour (float m) |
bool | isValid () |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
< be careful m==meter!
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |