@ Pure public Direction1D getRoadSegmentDirection ( ) { final BusItinerary itinerary = getContainer ( ) ; if ( itinerary != null && this . roadSegmentIndex >= 0 && this . roadSegmentIndex < itinerary . getRoadSegmentCount ( ) ) { return itinerary . getRoadSegmentDirection ( this . roadSegmentIndex ) ; } return null ; }
Replies on which direction the bus halt is located on the road segment .