SUMO - Simulation of Urban MObility
NBPTPlatform.cpp
Go to the documentation of this file.
1 /****************************************************************************/
7 // The representation of a pt platform
8 /****************************************************************************/
9 // SUMO, Simulation of Urban MObility; see http://sumo.dlr.de/
10 // Copyright (C) 2001-2017 DLR (http://www.dlr.de/) and contributors
11 /****************************************************************************/
12 //
13 // This file is part of SUMO.
14 // SUMO is free software: you can redistribute it and/or modify
15 // it under the terms of the GNU General Public License as published by
16 // the Free Software Foundation, either version 3 of the License, or
17 // (at your option) any later version.
18 //
19 /****************************************************************************/
20 #include "NBPTPlatform.h"
21 NBPTPlatform::NBPTPlatform(Position position, double d): myPos(position), myLength(d) {
22 
23 }
25  return &myPos;
26 }
27 double NBPTPlatform::getMyLength() const {
28  return myLength;
29 }
double myLength
Definition: NBPTPlatform.h:36
A point in 2D or 3D with translation and scaling methods.
Definition: Position.h:46
NBPTPlatform(Position position, double d)
Position myPos
Definition: NBPTPlatform.h:31
double getMyLength() const
Position * getMyPos()