Eclipse SUMO - Simulation of Urban MObility
NIXMLEdgesHandler::split_by_pos_finder Class Reference

Finds a split at the given position. More...

Public Member Functions

bool operator() (const NBEdgeCont::Split &e)
 Comparing operator. More...
 
 split_by_pos_finder (double pos)
 Constructor. More...
 

Private Attributes

double myPosition
 The position to search for. More...
 

Detailed Description

Finds a split at the given position.

Definition at line 230 of file NIXMLEdgesHandler.h.

Constructor & Destructor Documentation

◆ split_by_pos_finder()

NIXMLEdgesHandler::split_by_pos_finder::split_by_pos_finder ( double  pos)
inlineexplicit

Constructor.

Definition at line 233 of file NIXMLEdgesHandler.h.

Member Function Documentation

◆ operator()()

bool NIXMLEdgesHandler::split_by_pos_finder::operator() ( const NBEdgeCont::Split e)
inline

Comparing operator.

Definition at line 237 of file NIXMLEdgesHandler.h.

References myPosition, and NBEdgeCont::Split::pos.

Field Documentation

◆ myPosition

double NIXMLEdgesHandler::split_by_pos_finder::myPosition
private

The position to search for.

Definition at line 243 of file NIXMLEdgesHandler.h.

Referenced by operator()().


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