Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
NBNode::edge_by_direction_sorter Class Reference

Sorts outgoing before incoming edges. More...

#include <NBNode.h>

Collaboration diagram for NBNode::edge_by_direction_sorter:
[legend]

Public Member Functions

 edge_by_direction_sorter (NBNode *n)
 constructor
int operator() (NBEdge *e1, NBEdge *e2) const
 operator of selection

Private Attributes

NBNodemyNode
 The node to compute the relative angle of.

Detailed Description

Sorts outgoing before incoming edges.

Definition at line 819 of file NBNode.h.

Constructor & Destructor Documentation

◆ edge_by_direction_sorter()

NBNode::edge_by_direction_sorter::edge_by_direction_sorter ( NBNode * n)
inlineexplicit

constructor

Definition at line 822 of file NBNode.h.

References myNode, n, and NBNode::NBNode().

Member Function Documentation

◆ operator()()

int NBNode::edge_by_direction_sorter::operator() ( NBEdge * e1,
NBEdge * e2 ) const
inline

operator of selection

Definition at line 825 of file NBNode.h.

References NBEdge::getFromNode(), myNode, and UNUSED_PARAMETER.

Field Documentation

◆ myNode

NBNode* NBNode::edge_by_direction_sorter::myNode
private

The node to compute the relative angle of.

Definition at line 832 of file NBNode.h.

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


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