Skip to main content

OpenTD reference 2026 R1

Class PolylineVertex

Last update: 09.03.2026

Namespace: OpenTD
Assembly: OpenTD.dll

Describes a vertex and attached line segment in a Polyline.

[MessagePackObject(true)]
public class PolylineVertex

Inheritance

object ← PolylineVertex

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors

PolylineVertex(double, double, double, double, double, int)

public PolylineVertex(double x, double y, double bulge = 0, double startWidth = 0, double endWidth = 0, int vertexIdentifier = 0)

Parameters

x double

y double

bulge double

startWidth double

endWidth double

vertexIdentifier int

PolylineVertex()

public PolylineVertex()

Properties

Bulge

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.

public double Bulge { get; set; }

Property Value

double

EndWidth

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

public DimensionalIfPositive<ModelLength> EndWidth { get; set; }

Property Value

DimensionalIfPositive<ModelLength>

Location

public Point2d Location { get; set; }

Property Value

Point2d

StartWidth

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

public DimensionalIfPositive<ModelLength> StartWidth { get; set; }

Property Value

DimensionalIfPositive<ModelLength>

VertexIdentifier

Added for completeness. Do not use in most cases.

public int VertexIdentifier { get; set; }

Property Value

int

See Also

Polyline

Connect with Ansys