Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
NBPTPlatform Class Reference

#include <NBPTPlatform.h>

Collaboration diagram for NBPTPlatform:
[legend]

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 26 of file NBPTPlatform.h.

Constructor & Destructor Documentation

◆ NBPTPlatform()

NBPTPlatform::NBPTPlatform ( Position  position,
double  d 
)

Definition at line 21 of file NBPTPlatform.cpp.

Member Function Documentation

◆ getLength()

double NBPTPlatform::getLength ( ) const

Definition at line 38 of file NBPTPlatform.cpp.

References myLength.

Referenced by NBPTStopCont::assignAndCreatNewPTStopAsNeeded(), and NBPTStopCont::assignPTStopToEdgeOfClosestPlatform().

Here is the caller graph for this function:

◆ getPos()

const Position & NBPTPlatform::getPos ( ) const

Definition at line 26 of file NBPTPlatform.cpp.

References myPos.

Referenced by NBPTStopCont::assignPTStopToEdgeOfClosestPlatform().

Here is the caller graph for this function:

◆ reshiftPosition()

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

Definition at line 32 of file NBPTPlatform.cpp.

References Position::add(), and myPos.

Field Documentation

◆ myLength

double NBPTPlatform::myLength
private

Definition at line 35 of file NBPTPlatform.h.

Referenced by getLength().

◆ myPos

Position NBPTPlatform::myPos
private

Definition at line 34 of file NBPTPlatform.h.

Referenced by getPos(), and reshiftPosition().


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