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

#include <NBContHelper.h>

Collaboration diagram for NBContHelper::straightness_sorter:
Collaboration graph

Public Member Functions

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

Private Attributes

SUMOReal myReferenceAngle
 
Position myReferencePos
 
bool myRefIncoming
 

Detailed Description

straightness_sorter Class to sort edges according to how straight they are in relation to the reference edge at the given node

Definition at line 104 of file NBContHelper.h.

Constructor & Destructor Documentation

NBContHelper::straightness_sorter::straightness_sorter ( const NBNode n,
const NBEdge e 
)
inlineexplicit

Member Function Documentation

Field Documentation

SUMOReal NBContHelper::straightness_sorter::myReferenceAngle
private

Definition at line 125 of file NBContHelper.h.

Referenced by straightness_sorter().

Position NBContHelper::straightness_sorter::myReferencePos
private

Definition at line 124 of file NBContHelper.h.

Referenced by straightness_sorter().

bool NBContHelper::straightness_sorter::myRefIncoming
private

Definition at line 123 of file NBContHelper.h.

Referenced by straightness_sorter().


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