    

 ## On this page

  

 

 # OpenTD.Dimension.VoltsPerTemp Class Reference

 Last update: 16.07.2025 

Inheritance diagram for OpenTD.Dimension.VoltsPerTemp:

 ![](/sites/default/files/migrate-content/opentd_refefence_net_8_2025_r2_doc_1/class_open_t_d_1_1_dimension_1_1_volts_per_temp.png)



## <a id="pub-methods" name="pub-methods"></a>Public Member Functions

double [ConvertFromSI](#aeb77e87ee354abc87b6e2f036da374f1) (double x, [UnitsData](class_open_t_d_1_1_units_data.xhtml) units) Converts x from SI to input units.   
 double [ConvertToSI](#accd4c45676375a6e86d799ef7e71452b) ([UnitsData](class_open_t_d_1_1_units_data.xhtml) units, double x) Converts x from input units to SI.   
 string [GetName](#a75f5e8db1f9690f2e077a54105796808) () Gets the name of the dimension, e.g., "Density".   
 string [GetUnitsName](#a3510d4386d203e527365079c46f2a4f6) ([UnitsData](class_open_t_d_1_1_units_data.xhtml) units) Gets the name of unit corresponding to this dimension, e.g. "kg/m3".   
 string [GetTitle](#acf28ced20a6859213c0542de2be6f8e8) ([UnitsData](class_open_t_d_1_1_units_data.xhtml) units) Gets the name of the dimension and the unit, e.g., "Density (kg/m3)".   
## Member Function Documentation

<a id="aeb77e87ee354abc87b6e2f036da374f1" name="aeb77e87ee354abc87b6e2f036da374f1"></a>## [◆ ](#aeb77e87ee354abc87b6e2f036da374f1)ConvertFromSI()

 double OpenTD.Dimension.VoltsPerTemp.ConvertFromSI  ( double *x*,    [UnitsData](class_open_t_d_1_1_units_data.xhtml) *units* )  inline 

Converts x from SI to input units.

Implements [OpenTD.Dimension.IDimension](interface_open_t_d_1_1_dimension_1_1_i_dimension.xhtml#afddcd70691fedb7f5e45b35ab591c2a5).





<a id="accd4c45676375a6e86d799ef7e71452b" name="accd4c45676375a6e86d799ef7e71452b"></a>## [◆ ](#accd4c45676375a6e86d799ef7e71452b)ConvertToSI()

 double OpenTD.Dimension.VoltsPerTemp.ConvertToSI  ( [UnitsData](class_open_t_d_1_1_units_data.xhtml) *units*,    double *x* )  inline 

Converts x from input units to SI.

Implements [OpenTD.Dimension.IDimension](interface_open_t_d_1_1_dimension_1_1_i_dimension.xhtml#a47ad8f3b8708cb63cb89777b06affd5f).





<a id="a75f5e8db1f9690f2e077a54105796808" name="a75f5e8db1f9690f2e077a54105796808"></a>## [◆ ](#a75f5e8db1f9690f2e077a54105796808)GetName()

 string OpenTD.Dimension.VoltsPerTemp.GetName  ( )   inline 

Gets the name of the dimension, e.g., "Density".

ReturnsSystem.String.Implements [OpenTD.Dimension.IDimension](interface_open_t_d_1_1_dimension_1_1_i_dimension.xhtml#aeeb6edfa19e874001b5453f595995383).





<a id="acf28ced20a6859213c0542de2be6f8e8" name="acf28ced20a6859213c0542de2be6f8e8"></a>## [◆ ](#acf28ced20a6859213c0542de2be6f8e8)GetTitle()

 string OpenTD.Dimension.VoltsPerTemp.GetTitle  ( [UnitsData](class_open_t_d_1_1_units_data.xhtml) *units*)   inline 

Gets the name of the dimension and the unit, e.g., "Density (kg/m3)".

Parameters unitsThe units.ReturnsSystem.String.Implements [OpenTD.Dimension.IDimension](interface_open_t_d_1_1_dimension_1_1_i_dimension.xhtml#a216ec184b866a2be2257c288c7960674).





<a id="a3510d4386d203e527365079c46f2a4f6" name="a3510d4386d203e527365079c46f2a4f6"></a>## [◆ ](#a3510d4386d203e527365079c46f2a4f6)GetUnitsName()

 string OpenTD.Dimension.VoltsPerTemp.GetUnitsName  ( [UnitsData](class_open_t_d_1_1_units_data.xhtml) *units*)   inline 

Gets the name of unit corresponding to this dimension, e.g. "kg/m3".

Parameters unitsThe units.ReturnsSystem.String.Implements [OpenTD.Dimension.IDimension](interface_open_t_d_1_1_dimension_1_1_i_dimension.xhtml#a545ddcaa082f8f4d78c6e0c8176fcd02).





---

The documentation for this class was generated from the following file:- C:/Users/mgarrett/source/repos/BuildsTdSuite/builds/OpenTD/OpenTD/Dimension/**Dimensional.cs**