SUMO - Simulation of Urban MObility
NBEdge::connections_relative_edgelane_sorter Class Reference

Class to sort edges by their angle. More...

#include <NBEdge.h>

Collaboration diagram for NBEdge::connections_relative_edgelane_sorter:
Collaboration graph

Public Member Functions

 connections_relative_edgelane_sorter (NBEdge *e)
 constructor More...
 
int operator() (const Connection &c1, const Connection &c2) const
 comparing operation More...
 

Private Attributes

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

Detailed Description

Class to sort edges by their angle.

Definition at line 1579 of file NBEdge.h.

Constructor & Destructor Documentation

§ connections_relative_edgelane_sorter()

NBEdge::connections_relative_edgelane_sorter::connections_relative_edgelane_sorter ( NBEdge e)
inlineexplicit

constructor

Definition at line 1582 of file NBEdge.h.

Member Function Documentation

§ operator()()

int NBEdge::connections_relative_edgelane_sorter::operator() ( const Connection c1,
const Connection c2 
) const

comparing operation

Definition at line 226 of file NBEdge.cpp.

References NBEdge::Connection::toEdge, and NBEdge::Connection::toLane.

Field Documentation

§ myEdge

NBEdge* NBEdge::connections_relative_edgelane_sorter::myEdge
private

the edge to compute the relative angle of

Definition at line 1590 of file NBEdge.h.


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