OpenTD.PolylineVertex Class Reference
Last update: 16.07.2025Describes a vertex and attached line segment in a Polyline. More...
Public Member Functions | |
| PolylineVertex (double x, double y, double bulge=0.0, double startWidth=0.0, double endWidth=0.0, int vertexIdentifier=0) | |
| PolylineVertex () | |
Properties | |
| Point2d | Location [get, set] |
| double | Bulge [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< ModelLength > | StartWidth [get, set] |
| The starting width of the line segment, in-plane with the polyline. | |
| DimensionalIfPositive< ModelLength > | EndWidth [get, set] |
| The ending width of the line segment, in-plane with the polyline. | |
| int | VertexIdentifier [get, set] |
| Added for completeness. Do not use in most cases. | |
Detailed Description
Describes a vertex and attached line segment in a Polyline.
- See also
- OpenTD.Polyline
Constructor & Destructor Documentation
◆ PolylineVertex() [1/2]
|
inline |
◆ PolylineVertex() [2/2]
|
inline |
Property Documentation
◆ 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.
◆ EndWidth
|
getset |
The ending width of the line segment, in-plane with the polyline.
◆ Location
|
getset |
◆ StartWidth
|
getset |
The starting width of the line segment, in-plane with the polyline.
◆ 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