SUMO - Simulation of Urban MObility
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
NBNode::edge_by_direction_sorter Class Reference

Sorts outgoing before incoming edges. More...

#include <NBNode.h>

Public Member Functions

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

Private Attributes

NBNodemyNode
 The node to compute the relative angle of. More...
 

Detailed Description

Sorts outgoing before incoming edges.

Definition at line 668 of file NBNode.h.

Constructor & Destructor Documentation

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

Definition at line 670 of file NBNode.h.

Member Function Documentation

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

Definition at line 671 of file NBNode.h.

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

Field Documentation

NBNode* NBNode::edge_by_direction_sorter::myNode
private

The node to compute the relative angle of.

Definition at line 678 of file NBNode.h.

Referenced by operator()().


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