![]() |
Eclipse SUMO - Simulation of Urban MObility
|
Sorts incoming and outgoing edges clockwise around the given node. More...
#include <NBAlgorithms.h>
Public Member Functions | |
| edge_by_junction_angle_sorter (NBNode *n) | |
| int | operator() (NBEdge *e1, NBEdge *e2) const |
Private Attributes | |
| NBNode * | myNode |
| The node to compute the relative angle of. | |
Sorts incoming and outgoing edges clockwise around the given node.
Definition at line 169 of file NBAlgorithms.h.
|
inlineexplicit |
Definition at line 171 of file NBAlgorithms.h.
|
inline |
Definition at line 172 of file NBAlgorithms.h.
References NBEdge::getAngleAtNodeNormalized(), NBEdge::getNumericalID(), and myNode.
|
private |
The node to compute the relative angle of.
Definition at line 180 of file NBAlgorithms.h.
Referenced by edge_by_junction_angle_sorter(), and operator()().