Skip to main content
Namespace: OpenTD
Assembly: OpenTD.dll
Describes a vertex and attached line segment in a Polyline.

Inheritance

object ← PolylineVertex

Inherited Members

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

Constructors

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

Parameters

x double y double bulge double startWidth double endWidth double vertexIdentifier int

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.

Property Value

double

EndWidth

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

Property Value

DimensionalIfPositive<ModelLength>

Location

Property Value

Point2d

StartWidth

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

Property Value

DimensionalIfPositive<ModelLength>

VertexIdentifier

Added for completeness. Do not use in most cases.

Property Value

int

See Also

Polyline