| Description |
| This function calculates conversion factors from one ProUnititem to another; these can belong to the same model or two different models. |
| Replacement in Object TOOLKIT: | wfcWUnit::CalculateUnitConversion |
| Synopsis |
| #include <ProMdlUnits.h> |
| ProError | ProUnitConversionCalculate | ( |
| ProUnititem * unit_from | |
| /*
(In) |
| The unit from which to convert. |
| */ |
| ProUnititem * unit_to | |
| /*
(In) |
| The unit to convert to. |
| */ |
| ProUnitConversion * conversion | |
| /*
(Out) |
| The conversion factor. If it is NULL, the function will just check if unit conversion is possible. |
| */ |
| ) |
| Returns |
|
|