![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <NBPTPlatform.h>
Public Member Functions | |
| double | getLength () const |
| const Position & | getPos () const |
| NBPTPlatform (Position position, double d) | |
| void | reshiftPosition (const double offsetX, const double offsetY) |
Private Attributes | |
| double | myLength |
| Position | myPos |
Definition at line 26 of file NBPTPlatform.h.
| NBPTPlatform::NBPTPlatform | ( | Position | position, |
| double | d | ||
| ) |
Definition at line 21 of file NBPTPlatform.cpp.
| double NBPTPlatform::getLength | ( | ) | const |
Definition at line 38 of file NBPTPlatform.cpp.
References myLength.
Referenced by NBPTStopCont::assignAndCreatNewPTStopAsNeeded(), and NBPTStopCont::assignPTStopToEdgeOfClosestPlatform().
| const Position & NBPTPlatform::getPos | ( | ) | const |
Definition at line 26 of file NBPTPlatform.cpp.
References myPos.
Referenced by NBPTStopCont::assignPTStopToEdgeOfClosestPlatform().
| void NBPTPlatform::reshiftPosition | ( | const double | offsetX, |
| const double | offsetY | ||
| ) |
Definition at line 32 of file NBPTPlatform.cpp.
References Position::add(), and myPos.
|
private |
Definition at line 35 of file NBPTPlatform.h.
Referenced by getLength().
|
private |
Definition at line 34 of file NBPTPlatform.h.
Referenced by getPos(), and reshiftPosition().