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

#include <NBContHelper.h>

Collaboration diagram for NBContHelper::relative_incoming_edge_sorter:

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 99 of file NBContHelper.h.

Constructor & Destructor Documentation

◆ relative_incoming_edge_sorter()

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

constructor

Definition at line 102 of file NBContHelper.h.

References NBContHelper::relative_outgoing_edge_sorter::operator()().

Member Function Documentation

◆ operator()()

Field Documentation

◆ myEdge

NBEdge* NBContHelper::relative_incoming_edge_sorter::myEdge
private

the edge to compute the relative angle of

Definition at line 110 of file NBContHelper.h.


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