SUMO - Simulation of Urban MObility
NBContHelper::edge_by_angle_to_nodeShapeCentroid_sorter Class Reference

#include <NBContHelper.h>

Public Member Functions

 edge_by_angle_to_nodeShapeCentroid_sorter (NBNode *n)
 constructor More...
 
int operator() (const NBEdge *e1, const NBEdge *e2) const
 comparing operation More...
 

Private Attributes

NBNodemyNode
 the edge to compute the relative angle of More...
 

Detailed Description

edge_by_angle_to_nodeShapeCentroid_sorter Class to sort edges by their angle in relation to the node shape

Definition at line 374 of file NBContHelper.h.

Constructor & Destructor Documentation

NBContHelper::edge_by_angle_to_nodeShapeCentroid_sorter::edge_by_angle_to_nodeShapeCentroid_sorter ( NBNode n)
inlineexplicit

constructor

Definition at line 377 of file NBContHelper.h.

Member Function Documentation

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

comparing operation

Definition at line 258 of file NBContHelper.cpp.

References NBEdge::getEndAngle(), NBEdge::getFromNode(), NBEdge::getStartAngle(), NBEdge::getToNode(), and SUMOReal.

Field Documentation

NBNode* NBContHelper::edge_by_angle_to_nodeShapeCentroid_sorter::myNode
private

the edge to compute the relative angle of

Definition at line 385 of file NBContHelper.h.


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