SUMO - Simulation of Urban MObility
|
#include <NBContHelper.h>
Public Member Functions | |
int | operator() (NBEdge *e1, NBEdge *e2) const |
comparing operation | |
relative_edge_sorter (NBEdge *e, NBNode *n) | |
constructor |
Private Attributes | |
NBEdge * | myEdge |
the edge to compute the relative angle of | |
NBNode * | myNode |
the node to use |
relative_edge_sorter Class to sort edges by their angle in relation to the node the edge using this class is incoming into. This is normally done to sort edges outgoing from the node the using edge is incoming in by their angle in relation to the using edge's angle (this angle is the reference angle).
Definition at line 84 of file NBContHelper.h.
constructor
Definition at line 87 of file NBContHelper.h.
comparing operation
Definition at line 92 of file NBContHelper.h.
References NBEdge::getAngle(), myEdge, NBHelpers::normRelAngle(), and SUMOReal.
|
private |
the edge to compute the relative angle of
Definition at line 105 of file NBContHelper.h.
Referenced by operator()().
|
private |
the node to use
Definition at line 108 of file NBContHelper.h.