Assembly: OpenTD.dll
Inheritance
object ← ThermalMassImplements
IDimensionInherited Members
object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()Methods
ConvertFromSI(double, UnitsData)
Converts x from SI to input units.Parameters
x double
units UnitsData
Returns
doubleConvertToSI(UnitsData, double)
Converts x from input units to SI.Parameters
units UnitsData
x double
Returns
doubleGetName()
Gets the name of the dimension, e.g., “Density”.Returns
string System.String.GetTitle(UnitsData)
Gets the name of the dimension and the unit, e.g., “Density (kg/m3)”.Parameters
units UnitsData
The units.
Returns
string System.String.GetUnitsName(UnitsData)
Gets the name of unit corresponding to this dimension, e.g. “kg/m3”.Parameters
units UnitsData
The units.