    

 ## On this page

  

 

 # OpenTD.Dimension.Unknown Class Reference

 Last update: 16.07.2025 

Inheritance diagram for OpenTD.Dimension.Unknown:

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



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

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

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

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

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

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

 string OpenTD.Dimension.Unknown.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**