Eclipse SUMO - Simulation of Urban MObility
|
#include <Bresenham.h>
Data Structures | |
class | BresenhamCallBack |
Static Public Member Functions | |
static void | compute (BresenhamCallBack *callBack, const int val1, const int val2) |
The class' only static method "execute" obtains a callback object and performs the computation of the n:m - relationship
Definition at line 32 of file Bresenham.h.
|
static |
compute the bresenham - interpolation between both values the higher number is increased by one for each step while the smaller is increased by smaller/higher. In each step, the callback is executed.
Definition at line 32 of file Bresenham.cpp.
References Bresenham::BresenhamCallBack::execute(), MAX2(), and MIN2().
Referenced by NBNode::computeLanes2Lanes(), and NBEdge::divideSelectedLanesOnEdges().