![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <NBContHelper.h>
Public Member Functions | |
| edge_by_angle_to_nodeShapeCentroid_sorter (const NBNode *n) | |
| constructor | |
| bool | operator() (const NBEdge *e1, const NBEdge *e2) const |
| comparing operation | |
Private Attributes | |
| const NBNode * | myNode |
| the edge to compute the relative angle of | |
edge_by_angle_to_nodeShapeCentroid_sorter Class to sort edges by their angle in relation to the node shape
Definition at line 392 of file NBContHelper.h.
|
inlineexplicit |
| bool NBContHelper::edge_by_angle_to_nodeShapeCentroid_sorter::operator() | ( | const NBEdge * | e1, |
| const NBEdge * | e2 ) const |
comparing operation
Definition at line 247 of file NBContHelper.cpp.
References NBEdge::getAngleAtNodeToCenter(), NBEdge::getFromNode(), NBEdge::getID(), NBEdge::getPermissions(), NBEdge::getToNode(), myNode, and SVC_PEDESTRIAN.
|
private |
the edge to compute the relative angle of
Definition at line 403 of file NBContHelper.h.
Referenced by edge_by_angle_to_nodeShapeCentroid_sorter(), and operator()().