Helper functions to get the front and back ends of an oriented element.
More...
Helper functions to get the front and back ends of an oriented element.
◆ Back() [1/2]
Get the back end of a TrainComponent according to its orientation in its Train.
- Parameters
-
- Returns
- The end type corresponding to the given orientation.
◆ Back() [2/2]
Get the back end of an oriented element.
- Parameters
-
| orientation | The orientation of the element. |
- Returns
- The end type corresponding to the given orientation.
◆ Front() [1/2]
Get the front end of a TrainComponent according to its orientation in its Train.
- Parameters
-
- Returns
- The end type corresponding to the given orientation.
◆ Front() [2/2]
Get the front end of an oriented element.
- Parameters
-
| orientation | The orientation of the element. |
- Returns
- The end type corresponding to the given orientation.