Programming Reference for VirtualLab Fusion
2025.1
|
This class is subject to change. Programs using this class may require changes with a new version of VirtualLab.
Association between unit string and corresponding factor.
More...
Public Member Functions | |
PhysicalUnit (string parString, double parFactor) | |
Constructor. | |
PhysicalUnit (string parString, double parFactor, bool parUseAsOutputUnit) | |
Constructor. | |
Static Public Member Functions | |
static PhysicalUnit | FindDefaultUnit (PhysicalUnit[] units) |
Finds default unit of units[]. | |
This class is subject to change. Programs using this class may require changes with a new version of VirtualLab.
Association between unit string and corresponding factor.
PhysicalUnit | ( | string | parString, |
double | parFactor | ||
) |
Constructor.
parString | |
parFactor |
PhysicalUnit | ( | string | parString, |
double | parFactor, | ||
bool | parUseAsOutputUnit | ||
) |
Constructor.
parString | |
parFactor | |
parUseAsOutputUnit |
|
static |
Finds default unit of units[].
units |