AETraveller overview
Public Static Methods
Public Instance Constructors
AETraveller
|
Overloaded. Initializes a new instance of the AETraveller class. |
Public Instance Properties
Direction | |
IsEnd | Returns whether this traveller is currently on a end of line node. |
IsJunction | Returns whether this traveller is currently on a junction node. |
IsTrack | Returns whether this traveller is currently on a (section of) track node (opposed to junction, end of line). |
IsTrackCurved | Returns whether this traveller is currently on a section of track which is curved. |
IsTrackStraight | Returns whether this traveller is currently on a section of track which is straight. |
JunctionEntryPinIndex | Returns the pin index number, for the current track node, identifying the route travelled into this track node. |
JunctionExitPinIndex | |
Location | |
RotY | |
TileX | |
TileZ | |
TN | |
TrackNodeIndex | Returns the index of the current track node in the database. |
TrackNodeLength | Returns the length of the current track node in meters. |
TrackNodeOffset | Returns the distance down the current track node in meters, based on direction of travel. |
TrackVectorSectionIndex | Returns the index of the current track vector section (individual straight or curved section of track) in the current track node. |
WorldLocation | |
X | |
Y | |
Z | |
Public Instance Methods
DistanceTo | Overloaded. Returns the distance from the traveller's current lcation, in its current direction, to the location specified |
EndNodeAhead | Finds the nearest End node in the direction this traveller is facing. |
Equals (inherited from Object) | Determines whether the specified Object is equal to the current Object. |
FindTiltedZ | |
getCoordinate | |
GetCurrentCurveRadius | Current Curve Radius value. Zero if not a curve |
GetCurrentNode | |
GetCurrentSection | |
GetHashCode (inherited from Object) | Serves as a hash function for a particular type. |
GetType (inherited from Object) | Gets the Type of the current instance. |
JunctionNodeAhead | Finds the nearest junction node in the direction this traveller is facing. |
JunctionNodeBehind | Finds the nearest junction node in the opposite direction to this traveller. |
Move | Move the traveller along the track by the specified distance, or until the end of the track is reached. |
MoveInSection | Move the traveller along the track by the specified distance, or until the end of the track is reached, within the current track section only. |
MoveTo | Move AETraveller to given TrItem |
MoveToNextItem | Move AETraveller to the next OR Item or the given location |
NextSection | Moves the traveller on to the next section of track, whether that is another section within the current track node or a new track node. |
NextTrackNode | |
NextVectorSection | Moves the traveller on to the next section of the current track node only, stopping at the end of the track node. |
OverlapDistanceM | |
place | Overloaded. Creates a traveller starting at a specific location, facing with the track node. |
ReverseDirection | Switched the direction of the traveller. |
Save | Saves a traveller to persisted data. |
SuperElevationValue | |
ToString | |
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
AETraveller Class | Orts.Formats.OR Namespace