![]() |
Eclipse SUMO - Simulation of Urban MObility
|
Sorts edges by their angle relative to the given edge (straight comes first) More...
Public Member Functions | |
by_connections_to_sorter (const MSEdge *const e) | |
constructor More... | |
int | operator() (const MSEdge *const e1, const MSEdge *const e2) const |
comparing operator More... | |
Private Member Functions | |
by_connections_to_sorter & | operator= (const by_connections_to_sorter &) |
Private Attributes | |
const MSEdge *const | myEdge |
double | myLaneDir |
Sorts edges by their angle relative to the given edge (straight comes first)
|
explicit |
constructor
Definition at line 2847 of file MSLane.cpp.
int MSLane::by_connections_to_sorter::operator() | ( | const MSEdge *const | e1, |
const MSEdge *const | e2 | ||
) | const |
comparing operator
Definition at line 2854 of file MSLane.cpp.
References MSEdge::allowedLanes(), GeomHelper::angleDiff(), MSLane::getShape(), M_PI, myEdge, and myLaneDir.
|
private |
|
private |
Definition at line 1493 of file MSLane.h.
Referenced by operator()().
|
private |
Definition at line 1494 of file MSLane.h.
Referenced by operator()().