Open Rails

TrVectorSection Members

TrVectorSection overview

Public Instance Constructors

TrVectorSection Constructor Default constructor used during file parsing.

Public Instance Properties

AXAngle around X-axis for describing initial direction of the node
AYAngle around Y-axis for describing initial direction of the node
AZAngle around Z-axis for describing initial direction of the node
EndElevThe (super)elevation at the end
Flag1First flag. Not completely clear, usually 0, - may point to the connecting pin entry in a junction. Sometimes 2
Flag2Second flag. Not completely clear, usually 1, but set to 0 when curve track is flipped around. Sometimes 2
MaxElevThe maximum (super) elevation
Reduced??? (needed for ActivityEditor, but not used here, so why is it defined here?)
SectionIndexIndex of the track section in Tsection.dat
ShapeIndexIndex to the shape from Tsection.dat
StartElevThe (super)elevation at the start
TileXX-value of the location-tile
TileZZ-value of the location-tile
WFNameXThe TileX in the WorldFile
WFNameZThe TileZ in the WorldFile
WorldFileUiDThe index to the worldFile
XX-value within the tile where the node is located
YY-value (height) within the tile where the node is located
ZZ-value within the tile where the node is located

Public Instance Methods

Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type.
GetType (inherited from Object)Gets the Type of the current instance.
ToString Overriding the ToString, which makes it easier to debug

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

TrVectorSection Class | Orts.Formats.Msts Namespace