> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# OpenTD.Dimension.Current Class Reference

Inheritance diagram for OpenTD.Dimension.Current:

![](https://mintcdn.com/synopsys-00a47cbc/Srh1_f--TdKCLyqD/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_dimension_1_1_current.png?fit=max\&auto=format\&n=Srh1_f--TdKCLyqD\&q=85\&s=2141af067db293bce877d20d647d3dcb)

## Public Member Functions

| Type | Name |
| - | - |
| double | [ConvertFromSI](#a4ca7d4c6ca4dee6d612c4ba8f8d44815) (double x, [UnitsData](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_units_data.md) units) Converts x from SI to input units. |
| double | [ConvertToSI](#a75f2eb4882c35632b09fd09cf4fbf0a7) ([UnitsData](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_units_data.md) units, double x) Converts x from input units to SI. |
| string | [GetName](#ab97088eed4305b6c4fe3ed9c6d7ce02f) () Gets the name of the dimension, e.g., "Density". |
| string | [GetUnitsName](#aa97f8a316efcff835d5c65f1b56f6ae6) ([UnitsData](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_units_data.md) units) Gets the name of unit corresponding to this dimension, e.g. "kg/m3". |
| string | [GetTitle](#a1be7a884a69a767a2725f5ddabecd2df) ([UnitsData](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_units_data.md) units) Gets the name of the dimension and the unit, e.g., "Density (kg/m3)". |

## Member Function Documentation

### ConvertFromSI()

```csharp theme={null}
double OpenTD.Dimension.Current.ConvertFromSI(
    double x,
    UnitsData units
)
```

`inline`

Converts x from SI to input units.

Implements [OpenTD.Dimension.IDimension](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/interface_open_t_d_1_1_dimension_1_1_i_dimension.md#afddcd70691fedb7f5e45b35ab591c2a5).

### ConvertToSI()

```csharp theme={null}
double OpenTD.Dimension.Current.ConvertToSI(
    UnitsData units,
    double x
)
```

`inline`

Converts x from input units to SI.

Implements [OpenTD.Dimension.IDimension](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/interface_open_t_d_1_1_dimension_1_1_i_dimension.md#a47ad8f3b8708cb63cb89777b06affd5f).

### GetName()

```csharp theme={null}
string OpenTD.Dimension.Current.GetName()
```

`inline`

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

**Returns**

System.String.

Implements [OpenTD.Dimension.IDimension](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/interface_open_t_d_1_1_dimension_1_1_i_dimension.md#aeeb6edfa19e874001b5453f595995383).

### GetTitle()

```csharp theme={null}
string OpenTD.Dimension.Current.GetTitle(UnitsData units)
```

`inline`

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

**Parameters**

| Name | Description |
| - | - |
| units | The units. |

**Returns**

System.String.

Implements [OpenTD.Dimension.IDimension](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/interface_open_t_d_1_1_dimension_1_1_i_dimension.md#a216ec184b866a2be2257c288c7960674).

### GetUnitsName()

```csharp theme={null}
string OpenTD.Dimension.Current.GetUnitsName(UnitsData units)
```

`inline`

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

**Parameters**

| Name | Description |
| - | - |
| units | The units. |

**Returns**

System.String.

Implements [OpenTD.Dimension.IDimension](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/interface_open_t_d_1_1_dimension_1_1_i_dimension.md#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**
