![]() |
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 |
Protected Member Functions | |
double | getConvAngle (NBEdge *e) const |
Converts the angle of the edge if it is an incoming edge. More... | |
Private Attributes | |
NBNode * | myNode |
The node to compute the relative angle of. More... | |
Sorts incoming and outgoing edges clockwise around the given node.
Definition at line 158 of file NBAlgorithms.h.
|
inlineexplicit |
Definition at line 160 of file NBAlgorithms.h.
|
inlineprotected |
Converts the angle of the edge if it is an incoming edge.
Definition at line 167 of file NBAlgorithms.h.
References NBEdge::getAngleAtNode(), NBEdge::getFromNode(), and myNode.
Referenced by operator()().
|
inline |
Definition at line 161 of file NBAlgorithms.h.
References getConvAngle().
|
private |
The node to compute the relative angle of.
Definition at line 188 of file NBAlgorithms.h.
Referenced by getConvAngle().