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 (NBEdge *e)
 constructor More...
 

Private Attributes

SUMOReal myReferenceAngle
 
Position myReferencePos
 

Detailed Description

straightness_sorter Class to sort edges according to how straight thei are in relation to the reference edge

Definition at line 104 of file NBContHelper.h.

Constructor & Destructor Documentation

NBContHelper::straightness_sorter::straightness_sorter ( NBEdge e)
inlineexplicit

constructor

Definition at line 107 of file NBContHelper.h.

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

Member Function Documentation

int NBContHelper::straightness_sorter::operator() ( NBEdge e1,
NBEdge e2 
) const

Field Documentation

SUMOReal NBContHelper::straightness_sorter::myReferenceAngle
private

Definition at line 118 of file NBContHelper.h.

Position NBContHelper::straightness_sorter::myReferencePos
private

Definition at line 117 of file NBContHelper.h.


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