![]() |
Eclipse SUMO - Simulation of Urban MObility
|
Sorts lanes (their origin link) by the priority of their noninternal target edges or, if this doesn't yield an unambiguous result, wrt. the angle difference magnitude relative to the target lane's angle (straight comes first) More...
Public Member Functions | |
int | operator() (const MSLink *link1, const MSLink *link2) const |
comparing operator More... | |
outgoing_lane_priority_sorter (const MSLane *sourceLane) | |
constructor More... | |
Private Member Functions | |
outgoing_lane_priority_sorter & | operator= (const outgoing_lane_priority_sorter &) |
Private Attributes | |
const MSLane *const | myLane |
double | myLaneDir |
Sorts lanes (their origin link) by the priority of their noninternal target edges or, if this doesn't yield an unambiguous result, wrt. the angle difference magnitude relative to the target lane's angle (straight comes first)
|
explicit |
constructor
Definition at line 2966 of file MSLane.cpp.
int MSLane::outgoing_lane_priority_sorter::operator() | ( | const MSLink * | link1, |
const MSLink * | link2 | ||
) | const |
comparing operator
Definition at line 2971 of file MSLane.cpp.
References PositionVector::angleAt2D(), GeomHelper::angleDiff(), MSLane::getEdge(), Named::getID(), MSLink::getLane(), MSEdge::getPriority(), and MSLane::getShape().
|
private |
|
private |
|
private |