Open Rails

TrJunctionNode.GetAngle Method

[This is preliminary documentation and subject to change.]

Calculate the angle (direction in 2D) of the current junction (result will be cached).

public double GetAngle(
   TrackSectionsFile tsectionDat
);

Parameters

tsectionDat
The datafile with all the track sections

Return Value

The angle calculated

See Also

TrJunctionNode Class | Orts.Formats.Msts Namespace