> ## 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.

# Struct Dimensional<T>

Namespace: [OpenTD.Dimension](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net4-reference/OpenTD.Dimension)\
Assembly: OpenTD.dll

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.

```csharp theme={null}
[DataContract]
public struct Dimensional<T> where T : IDimension, new()
```

#### Type Parameters

`T`

## Inherited Members

[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring),
[object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object\)),
[object.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object-system-object\)),
[object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals),
[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode),
[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype)

## Constructors

### Dimensional(double)

```csharp theme={null}
public Dimensional(double x)
```

#### Parameters

`x` [double](https://learn.microsoft.com/dotnet/api/system.double)

### Dimensional(double, UnitsData)

```csharp theme={null}
public Dimensional(double x, UnitsData inputUnits)
```

#### Parameters

`x` [double](https://learn.microsoft.com/dotnet/api/system.double)

`inputUnits` [UnitsData](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net4-reference/OpenTD.UnitsData.md)

## Methods

### GetValueSI()

```csharp theme={null}
public double GetValueSI()
```

#### Returns

[double](https://learn.microsoft.com/dotnet/api/system.double)

### ToString()

Returns the fully qualified type name of this instance.

```csharp theme={null}
public override string ToString()
```

#### Returns

[string](https://learn.microsoft.com/dotnet/api/system.string)

The fully qualified type name.

## Operators

### implicit operator Dimensional\<T>(double)

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

#### Parameters

`x` [double](https://learn.microsoft.com/dotnet/api/system.double)

#### Returns

[Dimensional](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net4-reference/OpenTD.Dimension.Dimensional-1.md)\<T>

### implicit operator double(Dimensional\<T>)

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

#### Parameters

`x` [Dimensional](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net4-reference/OpenTD.Dimension.Dimensional-1.md)\<T>

#### Returns

[double](https://learn.microsoft.com/dotnet/api/system.double)
