SUMO - Simulation of Urban MObility
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

double 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

◆ straightness_sorter()

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

Member Function Documentation

◆ operator()()

Field Documentation

◆ myReferenceAngle

double NBContHelper::straightness_sorter::myReferenceAngle
private

Definition at line 125 of file NBContHelper.h.

◆ myReferencePos

Position NBContHelper::straightness_sorter::myReferencePos
private

Definition at line 124 of file NBContHelper.h.

◆ myRefIncoming

bool NBContHelper::straightness_sorter::myRefIncoming
private

Definition at line 123 of file NBContHelper.h.


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