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 1963 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 1966 of file NBEdge.h.

Member Function Documentation

◆ operator()()

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

comparing operation

Definition at line 237 of file NBEdge.cpp.

References 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 1974 of file NBEdge.h.


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