ad_map_access
|
struct defining the result type of findFirstLaneChange() More...
#include <ad/map/route/RouteOperation.hpp>
Public Member Functions | |
FindLaneChangeResult (FullRoute const &route) | |
constructor More... | |
bool | isValid () const |
returns true, if the routeIteratorLaneChangeStart and the routeIteratorLaneChangeEnd, as well as the lane change direction are set | |
physics::Distance | calcZoneLength () const |
calculate the length of the zone of the lane change More... | |
Public Attributes | |
const FullRoute & | queryRoute |
reference to the route | |
RoadSegmentList::const_iterator | laneChangeStartRouteIterator |
iterator referencing to route index where the lane change can start at the earliest | |
LaneSegmentList::const_iterator | laneChangeStartLaneSegmentIterator |
iterator referencing an element of the laneChangeStartRouteIterator content; only valid if laneChangeStartRouteIterator != queryRoute.routeSegments.end() | |
RoadSegmentList::const_iterator | laneChangeEndRouteIterator |
iterator referencing to route index where the lane change needs to be ended at the latest | |
LaneSegmentList::const_iterator | laneChangeEndLaneSegmentIterator |
iterator referencing an element of the laneChangeEndRouteIterator content; only valid if laneChangeEndRouteIterator != queryRoute.routeSegments.end() | |
LaneChangeDirection | laneChangeDirection |
the lane change direction | |
uint32_t | numberOfConnectedLaneChanges {0u} |
the number of connected lane changes to reach the desired target lane from the current position | |
struct defining the result type of findFirstLaneChange()
|
explicit |
constructor
constructs a result that is invalid
physics::Distance ad::map::route::FindLaneChangeResult::calcZoneLength | ( | ) | const |
calculate the length of the zone of the lane change