Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
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:
[legend]

Public Member Functions

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

Private Attributes

NBEdgemyEdge
 the edge to compute the relative angle of

Detailed Description

Class to sort edges by their angle.

Definition at line 2007 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 2010 of file NBEdge.h.

References myEdge, and NBEdge::NBEdge().

Member Function Documentation

◆ operator()()

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

comparing operation

Definition at line 245 of file NBEdge.cpp.

References myEdge, 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 2018 of file NBEdge.h.

Referenced by connections_relative_edgelane_sorter(), and operator()().


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