SUMO - Simulation of Urban MObility
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
NBContHelper::relative_outgoing_edge_sorter Class Reference

#include <NBContHelper.h>

Collaboration diagram for NBContHelper::relative_outgoing_edge_sorter:
Collaboration graph

Public Member Functions

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

Private Attributes

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

Detailed Description

relative_outgoing_edge_sorter Class to sort edges by their angle in relation to the node the edge using this class is incoming into. This is normally done to sort edges outgoing from the node the using edge is incoming in by their angle in relation to the using edge's angle (this angle is the reference angle).

Definition at line 84 of file NBContHelper.h.

Constructor & Destructor Documentation

NBContHelper::relative_outgoing_edge_sorter::relative_outgoing_edge_sorter ( NBEdge e)
inlineexplicit

constructor

Definition at line 87 of file NBContHelper.h.

Member Function Documentation

Field Documentation

NBEdge* NBContHelper::relative_outgoing_edge_sorter::myEdge
private

the edge to compute the relative angle of

Definition at line 95 of file NBContHelper.h.


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