Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
NBContHelper::edge_by_angle_to_nodeShapeCentroid_sorter Class Reference

#include <NBContHelper.h>

Collaboration diagram for NBContHelper::edge_by_angle_to_nodeShapeCentroid_sorter:
[legend]

Public Member Functions

 edge_by_angle_to_nodeShapeCentroid_sorter (const NBNode *n)
 constructor
 
bool operator() (const NBEdge *e1, const NBEdge *e2) const
 comparing operation
 

Private Attributes

const NBNodemyNode
 the edge to compute the relative angle of
 

Detailed Description

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

Definition at line 388 of file NBContHelper.h.

Constructor & Destructor Documentation

◆ edge_by_angle_to_nodeShapeCentroid_sorter()

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

constructor

Definition at line 391 of file NBContHelper.h.

Member Function Documentation

◆ operator()()

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

Field Documentation

◆ myNode

const NBNode* NBContHelper::edge_by_angle_to_nodeShapeCentroid_sorter::myNode
private

the edge to compute the relative angle of

Definition at line 399 of file NBContHelper.h.


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