> ## 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.LineData Class Reference

\<exclude >

Inheritance diagram for OpenTD.LineData:

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

## Public Member Functions

| Type | Name |
| - | - |
| | [LineData](#a8a1eb3605eba5262d6dc62c5c825da5c) () |
| override string | [ToString](#a1ff9426c376da95c2516ee3ded73450d) () |
| void | [SetFrom](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_td_db_entity_data.md#abf5b57b46dd355b945d17eca954fe173) ([TdDbEntityData](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_td_db_entity_data.md) x) |
| void | [SetFrom](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_db_object.md#a595c3f7ce20889de96e2adf759fb4c2c) ([DbObject](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_db_object.md) x) |
| void | [SetFrom](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_open_t_d_object.md#aa2e0aa2793e95a56891ef59fb4843ca2) ([OpenTDObject](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_open_t_d_object.md) x) |
| override void | [Update](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_db_object.md#a18304eff52add0793e578464eaecb4fb) () Updates the TD entity with the latest client data. |
| override void | [UpdateFromTD](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_db_object.md#a0d02db5bdd966c2ec9f83d3f07c4a6e8) () Updates the client-side instance with the latest data from the TD entity. |
| override void | [CreateIn](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_db_object.md#ab2b049c600a1290764920ab3a5e4f1b6) ([ThermalDesktop](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_thermal_desktop.md) td) Creates the TD entity in the specified TD instance. |
| override bool | [Equals](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_db_object.md#a07cda25341543659c639e815879e5e38) (object obj) |
| override int | [GetHashCode](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_db_object.md#a10d2aadcea2f0c8dbdd597c71cd1f7ad) () |
| void | [UpdateIn](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_open_t_d_object.md#a1e5228ce309c9a85ec09e8119318024d) ([ThermalDesktop](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_thermal_desktop.md) td) Updates the TD entity corresponding to this object in the specified TD instance, if possible. |

## Static Public Member Functions

| Type | Name |
| - | - |
| static bool | [operator==](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_db_object.md#adc17b71dfa209f83a3a1730c95a032a6) ([DbObject](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_db_object.md) first, [DbObject](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_db_object.md) second) |
| static bool | [operator!=](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_db_object.md#ae362d2d78aad41f0cec5dcc3c345b33d) ([DbObject](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_db_object.md) first, [DbObject](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_db_object.md) second) |

## Protected Member Functions

| Type | Name |
| - | - |
| string | [ToString](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_td_db_entity_data.md#ab07a5432adb933ee336d5e01c9bbed94) (string [Submodel](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_submodel.md), string Id, string Comment) |
| string | [ToString](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_td_db_entity_data.md#a96616691bb090a4b73f12d23f76a1a76) (string [Submodel](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_submodel.md), int Id, string Comment) |

## Protected Attributes

| Type | Name |
| - | - |
| [ITdCommander](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/interface_open_t_d_1_1_internal_1_1_communication_1_1_i_td_commander.md) | [TdProxy](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_open_t_d_object.md#a0da16592e6b635ca0def27b355d669b3) |

## Properties

| Type | Name |
| - | - |
| [Point3d](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_point3d.md) | [pointA](#a8f18bf5bd33c085e4bca6d01e9d14209)`[get, set]` |
| [Point3d](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_point3d.md) | [pointB](#a7321801eee11ffed80504347ecfc4a38)`[get, set]` |
| string | [Layer](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_td_db_entity_data.md#a41b404d510f026f172463d453c74c112)`[get, set]` |
| int | [ColorIndex](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_td_db_entity_data.md#ae76026f8ee74723b4fea0623eb0c4cf4)`[get, set]` Specifies a color. See the AutoCAD [Layer](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_layer.md) Properties Manager for valid values. |
| string | [Handle](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_db_object.md#a64061b4cada0773c01f886b2670ab156)`[get, set]` |
| string | [TypeName](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_db_object.md#ab9ed363a260a75e71e606e61d3f86352)`[get, set]` |

## Detailed Description

\<exclude >

## Constructor & Destructor Documentation

### LineData()

```csharp theme={null}
OpenTD.LineData.LineData()
```

`inline`

## Member Function Documentation

### CreateIn()

```csharp theme={null}
override void OpenTD.DbObject.CreateIn(ThermalDesktop td)
```

`inline` `inherited`

Creates the TD entity in the specified TD instance.

Implements [OpenTD.IReassignable](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/interface_open_t_d_1_1_i_reassignable.md#a94cbc52d002a10e44f5dc2daaf9c87db).

### Equals()

```csharp theme={null}
override bool OpenTD.DbObject.Equals(object obj)
```

`inline` `inherited`

### GetHashCode()

```csharp theme={null}
override int OpenTD.DbObject.GetHashCode()
```

`inline` `inherited`

### operator!=()

```csharp theme={null}
static bool OpenTD.DbObject.operator!=(
    DbObject first,
    DbObject second
)
```

`inline` `static` `inherited`

### operator==()

```csharp theme={null}
static bool OpenTD.DbObject.operator==(
    DbObject first,
    DbObject second
)
```

`inline` `static` `inherited`

### SetFrom() \[1/3]

```csharp theme={null}
void OpenTD.DbObject.SetFrom(DbObject x)
```

`inline` `inherited`

### SetFrom() \[2/3]

```csharp theme={null}
void OpenTD.OpenTDObject.SetFrom(OpenTDObject x)
```

`inline` `inherited`

### SetFrom() \[3/3]

```csharp theme={null}
void OpenTD.TdDbEntityData.SetFrom(TdDbEntityData x)
```

`inline` `inherited`

### ToString() \[1/3]

```csharp theme={null}
override string OpenTD.LineData.ToString()
```

`inline`

### ToString() \[2/3]

```csharp theme={null}
string OpenTD.TdDbEntityData.ToString(
    string Submodel,
    int Id,
    string Comment
)
```

`inline` `protected` `inherited`

### ToString() \[3/3]

```csharp theme={null}
string OpenTD.TdDbEntityData.ToString(
    string Submodel,
    string Id,
    string Comment
)
```

`inline` `protected` `inherited`

### Update()

```csharp theme={null}
override void OpenTD.DbObject.Update()
```

`inline` `inherited`

Updates the TD entity with the latest client data.

Implements [OpenTD.IUpdatable](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/interface_open_t_d_1_1_i_updatable.md#a162ef7c717f51047a1d45c7df4282470).

### UpdateFromTD()

```csharp theme={null}
override void OpenTD.DbObject.UpdateFromTD()
```

`inline` `inherited`

Updates the client-side instance with the latest data from the TD entity.

Implements [OpenTD.IUpdatable](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/interface_open_t_d_1_1_i_updatable.md#a47f3096415cfb5694fd822df8a1eceb0).

### UpdateIn()

```csharp theme={null}
void OpenTD.OpenTDObject.UpdateIn(ThermalDesktop td)
```

`inline` `inherited`

Updates the TD entity corresponding to this object in the specified TD instance, if possible.

Implements [OpenTD.IReassignable](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/interface_open_t_d_1_1_i_reassignable.md#a90dffde7dd442e9d940f9e5c5fabde14).

## Member Data Documentation

### TdProxy

```csharp theme={null}
ITdCommander OpenTD.OpenTDObject.TdProxy
```

`protected` `inherited`

## Property Documentation

### ColorIndex

```csharp theme={null}
int OpenTD.TdDbEntityData.ColorIndex
```

`get` `set` `inherited`

Specifies a color. See the AutoCAD [Layer](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_layer.md) Properties Manager for valid values.

### Handle

```csharp theme={null}
string OpenTD.DbObject.Handle
```

`get` `set` `inherited`

### Layer

```csharp theme={null}
string OpenTD.TdDbEntityData.Layer
```

`get` `set` `inherited`

### pointA

```csharp theme={null}
Point3d OpenTD.LineData.pointA
```

`get` `set`

### pointB

```csharp theme={null}
Point3d OpenTD.LineData.pointB
```

`get` `set`

### TypeName

```csharp theme={null}
string OpenTD.DbObject.TypeName
```

`get` `set` `inherited`

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

* C:/Users/mgarrett/source/repos/BuildsTdSuite/builds/OpenTD/OpenTD/**Line.cs**
