    

 ## On this page

  

 

 # OpenTD.Dimension.EnergyPerArea Class Reference

 Last update: 16.07.2025 

Inheritance diagram for OpenTD.Dimension.EnergyPerArea:

 ![](/sites/default/files/migrate-content/opentd_net4_reference_2025_r2_1/class_open_t_d_1_1_dimension_1_1_energy_per_area.png)



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

double [ConvertFromSI](#afa1b2c997f256145c7cccdb16016ce4e) (double x, [UnitsData](class_open_t_d_1_1_units_data.xhtml) units) Converts x from SI to input units.   
 double [ConvertToSI](#aec5549c6c5e425db06b90cb3a7a00ad0) ([UnitsData](class_open_t_d_1_1_units_data.xhtml) units, double x) Converts x from input units to SI.   
 string [GetName](#a0fb9f19f1710cfec158eb0c8199824b9) () Gets the name of the dimension, e.g., "Density".   
 string [GetUnitsName](#a4a655ffa1fded35c409998f6811c2ccf) ([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](#a691737f7e54b115a169061a90df1ebb2) ([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="afa1b2c997f256145c7cccdb16016ce4e" name="afa1b2c997f256145c7cccdb16016ce4e"></a>## [◆ ](#afa1b2c997f256145c7cccdb16016ce4e)ConvertFromSI()

 double OpenTD.Dimension.EnergyPerArea.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="aec5549c6c5e425db06b90cb3a7a00ad0" name="aec5549c6c5e425db06b90cb3a7a00ad0"></a>## [◆ ](#aec5549c6c5e425db06b90cb3a7a00ad0)ConvertToSI()

 double OpenTD.Dimension.EnergyPerArea.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="a0fb9f19f1710cfec158eb0c8199824b9" name="a0fb9f19f1710cfec158eb0c8199824b9"></a>## [◆ ](#a0fb9f19f1710cfec158eb0c8199824b9)GetName()

 string OpenTD.Dimension.EnergyPerArea.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="a691737f7e54b115a169061a90df1ebb2" name="a691737f7e54b115a169061a90df1ebb2"></a>## [◆ ](#a691737f7e54b115a169061a90df1ebb2)GetTitle()

 string OpenTD.Dimension.EnergyPerArea.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="a4a655ffa1fded35c409998f6811c2ccf" name="a4a655ffa1fded35c409998f6811c2ccf"></a>## [◆ ](#a4a655ffa1fded35c409998f6811c2ccf)GetUnitsName()

 string OpenTD.Dimension.EnergyPerArea.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/TDDEV\_ALPHA/buildXX/OpenTD/Dimension/**Dimensional.cs**