SUMO - Simulation of Urban MObility
|
#include <NBContHelper.h>
Public Member Functions | |
edge_by_angle_to_nodeShapeCentroid_sorter (NBNode *n) | |
constructor | |
int | operator() (const NBEdge *e1, const NBEdge *e2) const |
comparing operation |
Private Attributes | |
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 374 of file NBContHelper.h.
|
inlineexplicit |
constructor
Definition at line 377 of file NBContHelper.h.
int NBContHelper::edge_by_angle_to_nodeShapeCentroid_sorter::operator() | ( | const NBEdge * | e1, |
const NBEdge * | e2 | ||
) | const |
comparing operation
Definition at line 258 of file NBContHelper.cpp.
References NBEdge::getEndAngle(), NBEdge::getFromNode(), NBEdge::getStartAngle(), NBEdge::getToNode(), and SUMOReal.
|
private |
the edge to compute the relative angle of
Definition at line 385 of file NBContHelper.h.