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