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 392 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 395 of file NBContHelper.h.

References myNode, and n.

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 403 of file NBContHelper.h.

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


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