SUMO - Simulation of Urban MObility
NBContHelper::relative_incoming_edge_sorter Class Reference

#include <NBContHelper.h>

Public Member Functions

int operator() (NBEdge *e1, NBEdge *e2) const
 comparing operation More...
 
 relative_incoming_edge_sorter (NBEdge *e)
 constructor More...
 

Private Attributes

NBEdgemyEdge
 the edge to compute the relative angle of More...
 

Detailed Description

relative_incoming_edge_sorter Class to sort edges by their angle in relation to an outgoing edge. This is normally done to sort edges incoming at the starting node of this edge by their angle in relation to the using edge's angle (this angle is the reference angle).

Definition at line 106 of file NBContHelper.h.

Constructor & Destructor Documentation

NBContHelper::relative_incoming_edge_sorter::relative_incoming_edge_sorter ( NBEdge e)
inlineexplicit

constructor

Definition at line 109 of file NBContHelper.h.

Member Function Documentation

Field Documentation

NBEdge* NBContHelper::relative_incoming_edge_sorter::myEdge
private

the edge to compute the relative angle of

Definition at line 117 of file NBContHelper.h.


The documentation for this class was generated from the following files: