SUMO - Simulation of Urban MObility
MSLane::by_connections_to_sorter Class Reference
Collaboration diagram for MSLane::by_connections_to_sorter:
Collaboration graph

Public Member Functions

 by_connections_to_sorter (const MSEdge *const e)
 constructor More...
 
int operator() (const MSEdge *const e1, const MSEdge *const e2) const
 comparing operator More...
 

Private Member Functions

by_connections_to_sorteroperator= (const by_connections_to_sorter &)
 

Private Attributes

const MSEdge *const myEdge
 
SUMOReal myLaneDir
 

Detailed Description

Definition at line 942 of file MSLane.h.

Constructor & Destructor Documentation

MSLane::by_connections_to_sorter::by_connections_to_sorter ( const MSEdge *const  e)
explicit

constructor

Definition at line 1571 of file MSLane.cpp.

Member Function Documentation

int MSLane::by_connections_to_sorter::operator() ( const MSEdge *const  e1,
const MSEdge *const  e2 
) const

comparing operator

Definition at line 1578 of file MSLane.cpp.

References MSEdge::allowedLanes(), GeomHelper::angleDiff(), MSLane::getShape(), M_PI, myEdge, myLaneDir, and SUMOReal.

by_connections_to_sorter& MSLane::by_connections_to_sorter::operator= ( const by_connections_to_sorter )
private

Field Documentation

const MSEdge* const MSLane::by_connections_to_sorter::myEdge
private

Definition at line 953 of file MSLane.h.

Referenced by operator()().

SUMOReal MSLane::by_connections_to_sorter::myLaneDir
private

Definition at line 954 of file MSLane.h.

Referenced by operator()().


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