    

 ## On this page

  

 

 # OpenTD.Circle Class Reference

 Last update: 16.07.2025 

Client-side representation of an AutoCAD [Circle](class_open_t_d_1_1_circle.xhtml "Client-side representation of an AutoCAD Circle entity in a TD instance.") entity in a TD instance. [More...](#details)

Inheritance diagram for OpenTD.Circle:

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



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

 [Circle](#af31fd3ad2124ec769c6791e0b93a2965) () override void [Update](#a340682ef8d93ecfcb07918ca5becc864) () Updates the TD entity with the latest client data.   
 override void [CreateIn](#a2e618577cfcea07b32c043b7490c0b7c) ([ThermalDesktop](class_open_t_d_1_1_thermal_desktop.xhtml) td) Creates the TD entity in the specified TD instance.   
 void [SetFrom](class_open_t_d_1_1_td_db_entity_data.xhtml#abf5b57b46dd355b945d17eca954fe173) ([TdDbEntityData](class_open_t_d_1_1_td_db_entity_data.xhtml) x) void [SetFrom](class_open_t_d_1_1_db_object.xhtml#a595c3f7ce20889de96e2adf759fb4c2c) ([DbObject](class_open_t_d_1_1_db_object.xhtml) x) void [SetFrom](class_open_t_d_1_1_open_t_d_object.xhtml#aa2e0aa2793e95a56891ef59fb4843ca2) ([OpenTDObject](class_open_t_d_1_1_open_t_d_object.xhtml) x) override string [ToString](class_open_t_d_1_1_td_db_entity_data.xhtml#a46aa7decbbbda0df648389d237df11e1) () override void [UpdateFromTD](class_open_t_d_1_1_db_object.xhtml#a0d02db5bdd966c2ec9f83d3f07c4a6e8) () Updates the client-side instance with the latest data from the TD entity.   
 override bool [Equals](class_open_t_d_1_1_db_object.xhtml#a07cda25341543659c639e815879e5e38) (object obj) override int [GetHashCode](class_open_t_d_1_1_db_object.xhtml#a10d2aadcea2f0c8dbdd597c71cd1f7ad) () void [UpdateIn](class_open_t_d_1_1_open_t_d_object.xhtml#a1e5228ce309c9a85ec09e8119318024d) ([ThermalDesktop](class_open_t_d_1_1_thermal_desktop.xhtml) td) Updates the TD entity corresponding to this object in the specified TD instance, if possible.   
 ## <a id="pub-static-methods" name="pub-static-methods"></a>Static Public Member Functions

static bool [operator==](class_open_t_d_1_1_db_object.xhtml#adc17b71dfa209f83a3a1730c95a032a6) ([DbObject](class_open_t_d_1_1_db_object.xhtml) first, [DbObject](class_open_t_d_1_1_db_object.xhtml) second) static bool [operator!=](class_open_t_d_1_1_db_object.xhtml#ae362d2d78aad41f0cec5dcc3c345b33d) ([DbObject](class_open_t_d_1_1_db_object.xhtml) first, [DbObject](class_open_t_d_1_1_db_object.xhtml) second) ## <a id="pro-methods" name="pro-methods"></a>Protected Member Functions

string [ToString](class_open_t_d_1_1_td_db_entity_data.xhtml#ab07a5432adb933ee336d5e01c9bbed94) (string [Submodel](class_open_t_d_1_1_submodel.xhtml), string Id, string Comment) string [ToString](class_open_t_d_1_1_td_db_entity_data.xhtml#a96616691bb090a4b73f12d23f76a1a76) (string [Submodel](class_open_t_d_1_1_submodel.xhtml), int Id, string Comment) ## <a id="pro-attribs" name="pro-attribs"></a>Protected Attributes

[ITdCommander](interface_open_t_d_1_1_internal_1_1_communication_1_1_i_td_commander.xhtml) [TdProxy](class_open_t_d_1_1_open_t_d_object.xhtml#a0da16592e6b635ca0def27b355d669b3) ## <a id="properties" name="properties"></a>Properties

[Point3d](class_open_t_d_1_1_point3d.xhtml) [Center](#ab27dd4a54a6fff34df4f6a7bbdfeaad0)` [get, set]` Dimensional&lt; [ModelLength](class_open_t_d_1_1_dimension_1_1_model_length.xhtml) &gt; [Radius](#a882f639baf40d5a2583b3cc3410affe6)` [get, set]` double [Thickness](#a773c6fe77cd5b68436d5aad8f9942813)` [get, set]` [Vector3d](class_open_t_d_1_1_vector3d.xhtml) [Normal](#a5e2e826b799717858c047063aa52541d)` [get, set]` string [Layer](class_open_t_d_1_1_td_db_entity_data.xhtml#a41b404d510f026f172463d453c74c112)` [get, set]` int [ColorIndex](class_open_t_d_1_1_td_db_entity_data.xhtml#ae76026f8ee74723b4fea0623eb0c4cf4)` [get, set]` Specifies a color. See the AutoCAD [Layer](class_open_t_d_1_1_layer.xhtml "An AutoCAD layer.") [Properties](namespace_open_t_d_1_1_properties.xhtml) Manager for valid values.   
 string [Handle](class_open_t_d_1_1_db_object.xhtml#a64061b4cada0773c01f886b2670ab156)` [get, set]` string [TypeName](class_open_t_d_1_1_db_object.xhtml#ab9ed363a260a75e71e606e61d3f86352)` [get, set]` <a id="details" name="details"></a>## Detailed Description

Client-side representation of an AutoCAD [Circle](class_open_t_d_1_1_circle.xhtml "Client-side representation of an AutoCAD Circle entity in a TD instance.") entity in a TD instance.

See also[OpenTD.ThermalDesktop](class_open_t_d_1_1_thermal_desktop.xhtml "Represents one instance of Thermal Desktop. This is the top-level class for interacting with OpenTD.")

## Constructor &amp; Destructor Documentation

<a id="af31fd3ad2124ec769c6791e0b93a2965" name="af31fd3ad2124ec769c6791e0b93a2965"></a>## [◆ ](#af31fd3ad2124ec769c6791e0b93a2965)Circle()

 OpenTD.Circle.Circle  ( )   inline 





## Member Function Documentation

<a id="a2e618577cfcea07b32c043b7490c0b7c" name="a2e618577cfcea07b32c043b7490c0b7c"></a>## [◆ ](#a2e618577cfcea07b32c043b7490c0b7c)CreateIn()

 override void OpenTD.Circle.CreateIn  ( [ThermalDesktop](class_open_t_d_1_1_thermal_desktop.xhtml) *td*)   inline 

Creates the TD entity in the specified TD instance.

Implements [OpenTD.IReassignable](interface_open_t_d_1_1_i_reassignable.xhtml#a94cbc52d002a10e44f5dc2daaf9c87db).





<a id="a07cda25341543659c639e815879e5e38" name="a07cda25341543659c639e815879e5e38"></a>## [◆ ](#a07cda25341543659c639e815879e5e38)Equals()

 override bool OpenTD.DbObject.Equals  ( object *obj*)   inlineinherited 





<a id="a10d2aadcea2f0c8dbdd597c71cd1f7ad" name="a10d2aadcea2f0c8dbdd597c71cd1f7ad"></a>## [◆ ](#a10d2aadcea2f0c8dbdd597c71cd1f7ad)GetHashCode()

 override int OpenTD.DbObject.GetHashCode  ( )   inlineinherited 





<a id="ae362d2d78aad41f0cec5dcc3c345b33d" name="ae362d2d78aad41f0cec5dcc3c345b33d"></a>## [◆ ](#ae362d2d78aad41f0cec5dcc3c345b33d)operator!=()

 static bool OpenTD.DbObject.operator!=  ( [DbObject](class_open_t_d_1_1_db_object.xhtml) *first*,    [DbObject](class_open_t_d_1_1_db_object.xhtml) *second* )  inlinestaticinherited 





<a id="adc17b71dfa209f83a3a1730c95a032a6" name="adc17b71dfa209f83a3a1730c95a032a6"></a>## [◆ ](#adc17b71dfa209f83a3a1730c95a032a6)operator==()

 static bool OpenTD.DbObject.operator==  ( [DbObject](class_open_t_d_1_1_db_object.xhtml) *first*,    [DbObject](class_open_t_d_1_1_db_object.xhtml) *second* )  inlinestaticinherited 





<a id="a595c3f7ce20889de96e2adf759fb4c2c" name="a595c3f7ce20889de96e2adf759fb4c2c"></a>## [◆ ](#a595c3f7ce20889de96e2adf759fb4c2c)SetFrom() \[1/3\]

 void OpenTD.DbObject.SetFrom  ( [DbObject](class_open_t_d_1_1_db_object.xhtml) *x*)   inlineinherited 





<a id="aa2e0aa2793e95a56891ef59fb4843ca2" name="aa2e0aa2793e95a56891ef59fb4843ca2"></a>## [◆ ](#aa2e0aa2793e95a56891ef59fb4843ca2)SetFrom() \[2/3\]

 void OpenTD.OpenTDObject.SetFrom  ( [OpenTDObject](class_open_t_d_1_1_open_t_d_object.xhtml) *x*)   inlineinherited 





<a id="abf5b57b46dd355b945d17eca954fe173" name="abf5b57b46dd355b945d17eca954fe173"></a>## [◆ ](#abf5b57b46dd355b945d17eca954fe173)SetFrom() \[3/3\]

 void OpenTD.TdDbEntityData.SetFrom  ( [TdDbEntityData](class_open_t_d_1_1_td_db_entity_data.xhtml) *x*)   inlineinherited 





<a id="a46aa7decbbbda0df648389d237df11e1" name="a46aa7decbbbda0df648389d237df11e1"></a>## [◆ ](#a46aa7decbbbda0df648389d237df11e1)ToString() \[1/3\]

 override string OpenTD.TdDbEntityData.ToString  ( )   inlineinherited 





<a id="a96616691bb090a4b73f12d23f76a1a76" name="a96616691bb090a4b73f12d23f76a1a76"></a>## [◆ ](#a96616691bb090a4b73f12d23f76a1a76)ToString() \[2/3\]

 string OpenTD.TdDbEntityData.ToString  ( string *Submodel*,    int *Id*,    string *Comment* )  inlineprotectedinherited 





<a id="ab07a5432adb933ee336d5e01c9bbed94" name="ab07a5432adb933ee336d5e01c9bbed94"></a>## [◆ ](#ab07a5432adb933ee336d5e01c9bbed94)ToString() \[3/3\]

 string OpenTD.TdDbEntityData.ToString  ( string *Submodel*,    string *Id*,    string *Comment* )  inlineprotectedinherited 





<a id="a340682ef8d93ecfcb07918ca5becc864" name="a340682ef8d93ecfcb07918ca5becc864"></a>## [◆ ](#a340682ef8d93ecfcb07918ca5becc864)Update()

 override void OpenTD.Circle.Update  ( )   inline 

Updates the TD entity with the latest client data.

Implements [OpenTD.IUpdatable](interface_open_t_d_1_1_i_updatable.xhtml#a162ef7c717f51047a1d45c7df4282470).





<a id="a0d02db5bdd966c2ec9f83d3f07c4a6e8" name="a0d02db5bdd966c2ec9f83d3f07c4a6e8"></a>## [◆ ](#a0d02db5bdd966c2ec9f83d3f07c4a6e8)UpdateFromTD()

 override void OpenTD.DbObject.UpdateFromTD  ( )   inlineinherited 

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

Implements [OpenTD.IUpdatable](interface_open_t_d_1_1_i_updatable.xhtml#a47f3096415cfb5694fd822df8a1eceb0).





<a id="a1e5228ce309c9a85ec09e8119318024d" name="a1e5228ce309c9a85ec09e8119318024d"></a>## [◆ ](#a1e5228ce309c9a85ec09e8119318024d)UpdateIn()

 void OpenTD.OpenTDObject.UpdateIn  ( [ThermalDesktop](class_open_t_d_1_1_thermal_desktop.xhtml) *td*)   inlineinherited 

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

Implements [OpenTD.IReassignable](interface_open_t_d_1_1_i_reassignable.xhtml#a90dffde7dd442e9d940f9e5c5fabde14).





## Member Data Documentation

<a id="a0da16592e6b635ca0def27b355d669b3" name="a0da16592e6b635ca0def27b355d669b3"></a>## [◆ ](#a0da16592e6b635ca0def27b355d669b3)TdProxy

 [ITdCommander](interface_open_t_d_1_1_internal_1_1_communication_1_1_i_td_commander.xhtml) OpenTD.OpenTDObject.TdProxy  protectedinherited 





## Property Documentation

<a id="ab27dd4a54a6fff34df4f6a7bbdfeaad0" name="ab27dd4a54a6fff34df4f6a7bbdfeaad0"></a>## [◆ ](#ab27dd4a54a6fff34df4f6a7bbdfeaad0)Center

 [Point3d](class_open_t_d_1_1_point3d.xhtml) OpenTD.Circle.Center  getset 





<a id="ae76026f8ee74723b4fea0623eb0c4cf4" name="ae76026f8ee74723b4fea0623eb0c4cf4"></a>## [◆ ](#ae76026f8ee74723b4fea0623eb0c4cf4)ColorIndex

 int OpenTD.TdDbEntityData.ColorIndex  getsetinherited 

Specifies a color. See the AutoCAD [Layer](class_open_t_d_1_1_layer.xhtml "An AutoCAD layer.") [Properties](namespace_open_t_d_1_1_properties.xhtml) Manager for valid values.





<a id="a64061b4cada0773c01f886b2670ab156" name="a64061b4cada0773c01f886b2670ab156"></a>## [◆ ](#a64061b4cada0773c01f886b2670ab156)Handle

 string OpenTD.DbObject.Handle  getsetinherited 





<a id="a41b404d510f026f172463d453c74c112" name="a41b404d510f026f172463d453c74c112"></a>## [◆ ](#a41b404d510f026f172463d453c74c112)Layer

 string OpenTD.TdDbEntityData.Layer  getsetinherited 





<a id="a5e2e826b799717858c047063aa52541d" name="a5e2e826b799717858c047063aa52541d"></a>## [◆ ](#a5e2e826b799717858c047063aa52541d)Normal

 [Vector3d](class_open_t_d_1_1_vector3d.xhtml) OpenTD.Circle.Normal  getset 





<a id="a882f639baf40d5a2583b3cc3410affe6" name="a882f639baf40d5a2583b3cc3410affe6"></a>## [◆ ](#a882f639baf40d5a2583b3cc3410affe6)Radius

 Dimensional&lt;[ModelLength](class_open_t_d_1_1_dimension_1_1_model_length.xhtml)&gt; OpenTD.Circle.Radius  getset 





<a id="a773c6fe77cd5b68436d5aad8f9942813" name="a773c6fe77cd5b68436d5aad8f9942813"></a>## [◆ ](#a773c6fe77cd5b68436d5aad8f9942813)Thickness

 double OpenTD.Circle.Thickness  getset 





<a id="ab9ed363a260a75e71e606e61d3f86352" name="ab9ed363a260a75e71e606e61d3f86352"></a>## [◆ ](#ab9ed363a260a75e71e606e61d3f86352)TypeName

 string OpenTD.DbObject.TypeName  getsetinherited 





---

The documentation for this class was generated from the following file:- C:/Users/mgarrett/source/repos/BuildsTdSuite/builds/TDDEV\_ALPHA/buildXX/OpenTD/**Circle.cs**