    

 ## On this page

  

 

 # OpenTD.PolylineVertex Class Reference

 Last update: 16.07.2025 

Describes a vertex and attached line segment in a [Polyline](class_open_t_d_1_1_polyline.xhtml "Client-side representation of an AutoCAD LWPolyline entity in a TD instance."). [More...](#details)

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

 [PolylineVertex](#af440cf1d6d07a8a903e986b8c856d562) (double x, double y, double bulge=0.0, double startWidth=0.0, double endWidth=0.0, int vertexIdentifier=0)  [PolylineVertex](#aaa8ca70affca7d51f63932f041b68ed1) () ## <a id="properties" name="properties"></a>Properties

[Point2d](class_open_t_d_1_1_point2d.xhtml) [Location](#a4e739d58f80ca53b3f7444ebfb407b9a)` [get, set]` double [Bulge](#a000a55c036e129c70a623257b7b79dd1)` [get, set]` Tangent of 1/4 of the included angle of the arc. Positive for arcs that go counter-clockwise from the start point to end point. Straight segments have a bulge of 0. Semicircles have a bulge of +/-1.   
 DimensionalIfPositive&lt; [ModelLength](class_open_t_d_1_1_dimension_1_1_model_length.xhtml) &gt; [StartWidth](#aa4f3f0fad1ef62c95e81168262ad8637)` [get, set]` The starting width of the line segment, in-plane with the polyline.   
 DimensionalIfPositive&lt; [ModelLength](class_open_t_d_1_1_dimension_1_1_model_length.xhtml) &gt; [EndWidth](#a3e80e6a53d1750a984459b4a025718a3)` [get, set]` The ending width of the line segment, in-plane with the polyline.   
 int [VertexIdentifier](#a4f81b81275341d3dc34a960318a7f744)` [get, set]` Added for completeness. Do not use in most cases.   
 <a id="details" name="details"></a>## Detailed Description

Describes a vertex and attached line segment in a [Polyline](class_open_t_d_1_1_polyline.xhtml "Client-side representation of an AutoCAD LWPolyline entity in a TD instance.").

See also[OpenTD.Polyline](class_open_t_d_1_1_polyline.xhtml "Client-side representation of an AutoCAD LWPolyline entity in a TD instance.")

## Constructor &amp; Destructor Documentation

<a id="af440cf1d6d07a8a903e986b8c856d562" name="af440cf1d6d07a8a903e986b8c856d562"></a>## [◆ ](#af440cf1d6d07a8a903e986b8c856d562)PolylineVertex() \[1/2\]

 OpenTD.PolylineVertex.PolylineVertex  ( double *x*,    double *y*,    double *bulge* = 0::0,    double *startWidth* = 0::0,    double *endWidth* = 0::0,    int *vertexIdentifier* = 0 )  inline 





<a id="aaa8ca70affca7d51f63932f041b68ed1" name="aaa8ca70affca7d51f63932f041b68ed1"></a>## [◆ ](#aaa8ca70affca7d51f63932f041b68ed1)PolylineVertex() \[2/2\]

 OpenTD.PolylineVertex.PolylineVertex  ( )   inline 





## Property Documentation

<a id="a000a55c036e129c70a623257b7b79dd1" name="a000a55c036e129c70a623257b7b79dd1"></a>## [◆ ](#a000a55c036e129c70a623257b7b79dd1)Bulge

 double OpenTD.PolylineVertex.Bulge  getset 

Tangent of 1/4 of the included angle of the arc. Positive for arcs that go counter-clockwise from the start point to end point. Straight segments have a bulge of 0. Semicircles have a bulge of +/-1.





<a id="a3e80e6a53d1750a984459b4a025718a3" name="a3e80e6a53d1750a984459b4a025718a3"></a>## [◆ ](#a3e80e6a53d1750a984459b4a025718a3)EndWidth

 DimensionalIfPositive&lt;[ModelLength](class_open_t_d_1_1_dimension_1_1_model_length.xhtml)&gt; OpenTD.PolylineVertex.EndWidth  getset 

The ending width of the line segment, in-plane with the polyline.





<a id="a4e739d58f80ca53b3f7444ebfb407b9a" name="a4e739d58f80ca53b3f7444ebfb407b9a"></a>## [◆ ](#a4e739d58f80ca53b3f7444ebfb407b9a)Location

 [Point2d](class_open_t_d_1_1_point2d.xhtml) OpenTD.PolylineVertex.Location  getset 





<a id="aa4f3f0fad1ef62c95e81168262ad8637" name="aa4f3f0fad1ef62c95e81168262ad8637"></a>## [◆ ](#aa4f3f0fad1ef62c95e81168262ad8637)StartWidth

 DimensionalIfPositive&lt;[ModelLength](class_open_t_d_1_1_dimension_1_1_model_length.xhtml)&gt; OpenTD.PolylineVertex.StartWidth  getset 

The starting width of the line segment, in-plane with the polyline.





<a id="a4f81b81275341d3dc34a960318a7f744" name="a4f81b81275341d3dc34a960318a7f744"></a>## [◆ ](#a4f81b81275341d3dc34a960318a7f744)VertexIdentifier

 int OpenTD.PolylineVertex.VertexIdentifier  getset 

Added for completeness. Do not use in most cases.





---

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