OpenTD.Dimension.Conductance Class Reference
Last update: 16.07.2025
Inheritance diagram for OpenTD.Dimension.Conductance:

Public Member Functions | |
| double | ConvertFromSI (double x, UnitsData units) |
| Converts x from SI to input units. | |
| double | ConvertToSI (UnitsData units, double x) |
| Converts x from input units to SI. | |
| string | GetName () |
| Gets the name of the dimension, e.g., "Density". | |
| string | GetUnitsName (UnitsData units) |
| Gets the name of unit corresponding to this dimension, e.g. "kg/m3". | |
| string | GetTitle (UnitsData units) |
| Gets the name of the dimension and the unit, e.g., "Density (kg/m3)". | |
Member Function Documentation
◆ ConvertFromSI()
|
inline |
Converts x from SI to input units.
Implements OpenTD.Dimension.IDimension.
◆ ConvertToSI()
|
inline |
Converts x from input units to SI.
Implements OpenTD.Dimension.IDimension.
◆ GetName()
|
inline |
Gets the name of the dimension, e.g., "Density".
- Returns
- System.String.
Implements OpenTD.Dimension.IDimension.
◆ GetTitle()
|
inline |
Gets the name of the dimension and the unit, e.g., "Density (kg/m3)".
- Parameters
-
units The units.
- Returns
- System.String.
Implements OpenTD.Dimension.IDimension.
◆ GetUnitsName()
|
inline |
Gets the name of unit corresponding to this dimension, e.g. "kg/m3".
- Parameters
-
units The units.
- Returns
- System.String.
Implements OpenTD.Dimension.IDimension.
The documentation for this class was generated from the following file:
- C:/Users/mgarrett/source/repos/BuildsTdSuite/builds/TDDEV_ALPHA/buildXX/OpenTD/Dimension/Dimensional.cs