Class Polyline
Last update: 09.03.2026Namespace: OpenTD
Assembly: OpenTD.dll
Client-side representation of an AutoCAD LWPolyline entity in a TD instance.
[MessagePackObject(true)]
public class Polyline : TdDbEntityData, IUpdatable
Inheritance
object ← OpenTDObject ← DbObject ← TdDbEntityData ← Polyline
Implements
Inherited Members
TdDbEntityData.SetFrom(TdDbEntityData), TdDbEntityData.Layer, TdDbEntityData.ColorIndex, TdDbEntityData.ToString(string, string, string), TdDbEntityData.ToString(string, int, string), TdDbEntityData.ToString(), DbObject.SetFrom(DbObject), DbObject.Update(), DbObject.UpdateFromTD(), DbObject.CreateIn(ThermalDesktop), DbObject.Handle, DbObject.TypeName, DbObject.Equals(object), DbObject.GetHashCode(), OpenTDObject.SetFrom(OpenTDObject), OpenTDObject.Update(), OpenTDObject.UpdateFromTD(), OpenTDObject.UpdateIn(ThermalDesktop), OpenTDObject.CreateIn(ThermalDesktop), OpenTDObject.TdProxy, object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Polyline()
public Polyline()
Properties
Closed
Gets or sets a value indicating whether this
public bool Closed { get; set; }
Property Value
Elevation
Distance from WCS origin to plane that contains polyline.
public Dimensional<ModelLength> Elevation { get; set; }
Property Value
ExtrusionThickness
Extrusion thickness in the normal direction.
public Dimensional<ModelLength> ExtrusionThickness { get; set; }
Property Value
Normal
Normal of the plane that contains the polyline.
public Vector3d Normal { get; set; }
Property Value
Vertices
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.
public List<PolylineVertex> Vertices { get; set; }
Property Value
Methods
CreateIn(ThermalDesktop)
Creates the TD entity in the specified TD instance.
public override void CreateIn(ThermalDesktop td)
Parameters
Update()
Updates the TD entity with the latest client data.
public override void Update()