Open Rails

Train.FindCommonSectionEnd Method

[This is preliminary documentation and subject to change.]

Find end of common section searching through both routes in forward direction

public int FindCommonSectionEnd(
   TCSubpathRoute thisRoute,
   int thisRouteIndex,
   TCSubpathRoute otherRoute,
   int otherRouteIndex
);

Parameters

thisRoute
thisRouteIndex
otherRoute
otherRouteIndex

Return Value

See Also

Train Class | ORTS Namespace