Skip to main content

OpenTD .NET8 reference 2025 R2

OpenTD.Polyline Class Reference

Last update: 16.07.2025

Client-side representation of an AutoCAD LWPolyline entity in a TD instance. More...

Inheritance diagram for OpenTD.Polyline:
OpenTD.TdDbEntityDataOpenTD.DbObjectOpenTD.ITdDerivedOpenTD.OpenTDObjectOpenTD.IUpdatableOpenTD.IReassignable

Public Member Functions

 Polyline ()
 
override void Update ()
 Updates the TD entity with the latest client data.
 
override void CreateIn (ThermalDesktop td)
 Creates the TD entity in the specified TD instance.
 
void SetFrom (TdDbEntityData x)
 
void SetFrom (DbObject x)
 
void SetFrom (OpenTDObject x)
 
override string ToString ()
 
override void UpdateFromTD ()
 Updates the client-side instance with the latest data from the TD entity.
 
override bool Equals (object obj)
 
override int GetHashCode ()
 
void UpdateIn (ThermalDesktop td)
 Updates the TD entity corresponding to this object in the specified TD instance, if possible.
 

Static Public Member Functions

static bool operator== (DbObject first, DbObject second)
 
static bool operator!= (DbObject first, DbObject second)
 

Protected Member Functions

string ToString (string Submodel, string Id, string Comment)
 
string ToString (string Submodel, int Id, string Comment)
 

Protected Attributes

ITdCommander TdProxy
 

Properties

List< PolylineVertexVertices [get, set]
 2-D points defining the polyline in a plane. Vertex properties affect the segment following a given vertex. For example, if the Bulge of vertex 3 is 1.0, then the segment from vertex 3 to 4 is a semi-circular arc.
 
bool Closed [get, set]
 Gets or sets a value indicating whether this Polyline is a closed curve.
 
Vector3d Normal [get, set]
 Normal of the plane that contains the polyline.
 
Dimensional< ModelLengthElevation [get, set]
 Distance from WCS origin to plane that contains polyline.
 
Dimensional< ModelLengthExtrusionThickness [get, set]
 Extrusion thickness in the normal direction.
 
string Layer [get, set]
 
int ColorIndex [get, set]
 Specifies a color. See the AutoCAD Layer Properties Manager for valid values.
 
string Handle [get, set]
 
string TypeName [get, set]
 

Detailed Description

Client-side representation of an AutoCAD LWPolyline entity in a TD instance.

See also
OpenTD.ThermalDesktop

Constructor & Destructor Documentation

◆ Polyline()

OpenTD.Polyline.Polyline ( )
inline

Member Function Documentation

◆ CreateIn()

override void OpenTD.Polyline.CreateIn ( ThermalDesktop td)
inline

Creates the TD entity in the specified TD instance.

Implements OpenTD.IReassignable.

◆ Equals()

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

◆ GetHashCode()

override int OpenTD.DbObject.GetHashCode ( )
inlineinherited

◆ operator!=()

static bool OpenTD.DbObject.operator!= ( DbObject first,
DbObject second )
inlinestaticinherited

◆ operator==()

static bool OpenTD.DbObject.operator== ( DbObject first,
DbObject second )
inlinestaticinherited

◆ SetFrom() [1/3]

void OpenTD.DbObject.SetFrom ( DbObject x)
inlineinherited

◆ SetFrom() [2/3]

void OpenTD.OpenTDObject.SetFrom ( OpenTDObject x)
inlineinherited

◆ SetFrom() [3/3]

void OpenTD.TdDbEntityData.SetFrom ( TdDbEntityData x)
inlineinherited

◆ ToString() [1/3]

override string OpenTD.TdDbEntityData.ToString ( )
inlineinherited

◆ ToString() [2/3]

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

◆ ToString() [3/3]

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

◆ Update()

override void OpenTD.Polyline.Update ( )
inline

Updates the TD entity with the latest client data.

Implements OpenTD.IUpdatable.

◆ UpdateFromTD()

override void OpenTD.DbObject.UpdateFromTD ( )
inlineinherited

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

Implements OpenTD.IUpdatable.

◆ UpdateIn()

void OpenTD.OpenTDObject.UpdateIn ( ThermalDesktop td)
inlineinherited

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

Implements OpenTD.IReassignable.

Member Data Documentation

◆ TdProxy

ITdCommander OpenTD.OpenTDObject.TdProxy
protectedinherited

Property Documentation

◆ Closed

bool OpenTD.Polyline.Closed
getset

Gets or sets a value indicating whether this Polyline is a closed curve.

◆ ColorIndex

int OpenTD.TdDbEntityData.ColorIndex
getsetinherited

Specifies a color. See the AutoCAD Layer Properties Manager for valid values.

◆ Elevation

Dimensional<ModelLength> OpenTD.Polyline.Elevation
getset

Distance from WCS origin to plane that contains polyline.

◆ ExtrusionThickness

Dimensional<ModelLength> OpenTD.Polyline.ExtrusionThickness
getset

Extrusion thickness in the normal direction.

◆ Handle

string OpenTD.DbObject.Handle
getsetinherited

◆ Layer

string OpenTD.TdDbEntityData.Layer
getsetinherited

◆ Normal

Vector3d OpenTD.Polyline.Normal
getset

Normal of the plane that contains the polyline.

◆ TypeName

string OpenTD.DbObject.TypeName
getsetinherited

◆ Vertices

List<PolylineVertex> OpenTD.Polyline.Vertices
getset

2-D points defining the polyline in a plane. Vertex properties affect the segment following a given vertex. For example, if the Bulge of vertex 3 is 1.0, then the segment from vertex 3 to 4 is a semi-circular arc.


The documentation for this class was generated from the following file:
  • C:/Users/mgarrett/source/repos/BuildsTdSuite/builds/OpenTD/OpenTD/Polyline.cs

Connect with Ansys