SUMO - Simulation of Urban MObility
|
#include <NBEdge.h>
Public Member Functions | |
connections_relative_edgelane_sorter (NBEdge *e, NBNode *n) | |
constructor | |
int | operator() (const Connection &c1, const Connection &c2) const |
comparing operation | |
Private Attributes | |
NBEdge * | myEdge |
the edge to compute the relative angle of | |
NBNode * | myNode |
the node to use |
connections_relative_edgelane_sorter Class to sort edges by their angle
NBEdge::connections_relative_edgelane_sorter::connections_relative_edgelane_sorter | ( | NBEdge * | e, |
NBNode * | n | ||
) | [inline, explicit] |
int NBEdge::connections_relative_edgelane_sorter::operator() | ( | const Connection & | c1, |
const Connection & | c2 | ||
) | const [inline] |
comparing operation
Definition at line 1326 of file NBEdge.h.
References NBEdge::getAngle(), myEdge, NBHelpers::normRelAngle(), SUMOReal, NBEdge::Connection::toEdge, and NBEdge::Connection::toLane.
the edge to compute the relative angle of
Definition at line 1339 of file NBEdge.h.
Referenced by operator()().