SUMO - Simulation of Urban MObility
NBPTPlatform Class Reference

#include <NBPTPlatform.h>

Collaboration diagram for NBPTPlatform:
Collaboration graph

Public Member Functions

double getLength () const
 
const PositiongetPos () const
 
 NBPTPlatform (Position position, double d)
 
void reshiftPosition (const double offsetX, const double offsetY)
 

Private Attributes

double myLength
 
Position myPos
 

Detailed Description

Definition at line 23 of file NBPTPlatform.h.

Constructor & Destructor Documentation

◆ NBPTPlatform()

NBPTPlatform::NBPTPlatform ( Position  position,
double  d 
)

Definition at line 18 of file NBPTPlatform.cpp.

Member Function Documentation

◆ getLength()

double NBPTPlatform::getLength ( ) const

◆ getPos()

const Position & NBPTPlatform::getPos ( ) const

Definition at line 23 of file NBPTPlatform.cpp.

References myPos.

Referenced by NBPTStopCont::assignPTStopToEdgeOfClosestPlatform().

◆ reshiftPosition()

void NBPTPlatform::reshiftPosition ( const double  offsetX,
const double  offsetY 
)

Definition at line 29 of file NBPTPlatform.cpp.

References Position::add(), and myPos.

Field Documentation

◆ myLength

double NBPTPlatform::myLength
private

Definition at line 32 of file NBPTPlatform.h.

Referenced by getLength().

◆ myPos

Position NBPTPlatform::myPos
private

Definition at line 31 of file NBPTPlatform.h.

Referenced by getPos(), and reshiftPosition().


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