![]() |
OpendTect
6.6
|
Go to the source code of this file.
Classes | |
| class | UnitOfMeasure |
| Unit of Measure. More... | |
| class | UnitOfMeasureRepository |
| Repository of all Units of Measure in the system. More... | |
Functions | |
| UnitOfMeasureRepository & | UoMR () |
| template<class T > | |
| void | convValue (T &val, const UnitOfMeasure *oldunit, const UnitOfMeasure *newunit) |
| template<class T > | |
| T | getConvertedValue (T val, const UnitOfMeasure *oldunit, const UnitOfMeasure *newunit) |
| void convValue | ( | T & | val, |
| const UnitOfMeasure * | oldunit, | ||
| const UnitOfMeasure * | newunit | ||
| ) |
Converts from one unit into another. Both units may be null (hence the non-member function).
|
inline |
| UnitOfMeasureRepository& UoMR | ( | ) |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2021