![]() |
SUMO - Simulation of Urban MObility
|
#include <NBContHelper.h>
Public Member Functions | |
edge_similar_direction_sorter (const NBEdge *const e) | |
constructor More... | |
int | operator() (NBEdge *e1, NBEdge *e2) const |
comparing operation More... | |
Private Attributes | |
double | myAngle |
the angle to find the edge with the opposite direction More... | |
edge_similar_direction_sorter Class to sort edges by their angle in relation to the given edge The resulting list should have the edge in the most similar direction to the given edge as her first entry
Definition at line 248 of file NBContHelper.h.
|
inlineexplicit |
constructor
Definition at line 251 of file NBContHelper.h.
|
inline |
comparing operation
Definition at line 255 of file NBContHelper.h.
References GeomHelper::getMinAngleDiff(), and NBEdge::getTotalAngle().
|
private |
the angle to find the edge with the opposite direction
Definition at line 263 of file NBContHelper.h.