> ## 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.Dimensional< T > Struct Template Reference

Dimensionals represent dimensional quantities, like endTime or initialTemperature. When set or get, dimensional values reflect the current Units.WorkingUnits system. For example, if you set WorkingUnits.temp to C, then set a Dimensional\{Temperature} to 0, then set WorkingUnits.temp to F, the Dimensional would now return 32. Dimensionals implicitly convert to/from doubles.

Inheritance diagram for OpenTD.Dimension.Dimensional\< T >:

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

## Public Member Functions

| Type | Name |
| - | - |
| | [Dimensional](#a88a8c379ba844e38595f68ace1cd0441) (double x) |
| | [Dimensional](#a1008e7cc221fe7f33b6075f85cb13e78) (double x, [UnitsData](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_units_data.md) inputUnits) |
| double | [GetValueSI](#a001ee5e827d5c133a732e8e94a68c4e9) () |
| override string | [ToString](#a14e144a0e0749818bade8d9dace808aa) () |
| double IGetSetSI. | [GetValueSI](#a00948562b62e1b160de2d23e383fb5d1) () |
| void IGetSetSI. | [SetValueSI](#a3b1ad3415b1eeaa018ab2fdb5ada683e) (double value) |

## Static Public Member Functions

| Type | Name |
| - | - |
| static implicit | [operator Dimensional\< T >](#a9cb81466e050943e7da30be7a7f08c9f) (double x) |
| static implicit | [operator double](#ac15dd1bfadb520b79b08cc0bffda8826) ([Dimensional](#a88a8c379ba844e38595f68ace1cd0441)\< T > x) |

## Detailed Description

Dimensionals represent dimensional quantities, like endTime or initialTemperature. When set or get, dimensional values reflect the current Units.WorkingUnits system. For example, if you set WorkingUnits.temp to C, then set a Dimensional\{Temperature} to 0, then set WorkingUnits.temp to F, the Dimensional would now return 32. Dimensionals implicitly convert to/from doubles.

****Type Constraints****

| | | | |
| - | - | - | - |
| *T* | : | *[IDimension](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/interface_open_t_d_1_1_dimension_1_1_i_dimension.md)* | |
| *T* | : | *new()* | |

## Member Function Documentation

### Dimensional() \[1/2]

```csharp theme={null}
OpenTD.Dimension.Dimensional< T >.Dimensional(double x)
```

`inline`

### Dimensional() \[2/2]

```csharp theme={null}
OpenTD.Dimension.Dimensional< T >.Dimensional(
    double x,
    UnitsData inputUnits
)
```

`inline`

### GetValueSI() \[1/2]

```csharp theme={null}
double OpenTD.Dimension.Dimensional< T >.GetValueSI()
```

`inline`

Implements [OpenTD.Dimension.IGetSetSI](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/interface_open_t_d_1_1_dimension_1_1_i_get_set_s_i.md#ac97df4644cd11b65e5f418ece59e455c).

### GetValueSI() \[2/2]

```csharp theme={null}
double IGetSetSI. OpenTD.Dimension.Dimensional< T >.GetValueSI()
```

`inline`

Implements [OpenTD.Dimension.IGetSetSI](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/interface_open_t_d_1_1_dimension_1_1_i_get_set_s_i.md#ac97df4644cd11b65e5f418ece59e455c).

### operator Dimensional\< T >()

```csharp theme={null}
static implicit OpenTD.Dimension.Dimensional< T >.operator Dimensional < T >(double x)
```

`inline` `static`

### operator double()

```csharp theme={null}
static implicit OpenTD.Dimension.Dimensional< T >.operator double(Dimensional < T > x)
```

`inline` `static`

### SetValueSI()

```csharp theme={null}
void IGetSetSI. OpenTD.Dimension.Dimensional< T >.SetValueSI(double value)
```

`inline`

Implements [OpenTD.Dimension.IGetSetSI](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/interface_open_t_d_1_1_dimension_1_1_i_get_set_s_i.md#a4d1c83f4fab3ac28f5af8c6ee14d2ee8).

### ToString()

```csharp theme={null}
override string OpenTD.Dimension.Dimensional< T >.ToString()
```

`inline`

The documentation for this struct was generated from the following file:

* C:/Users/mgarrett/source/repos/BuildsTdSuite/builds/TDDEV\_ALPHA/buildXX/OpenTD/Dimension/**Dimensional.cs**
