SUMO - Simulation of Urban MObility
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
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
}
24
Position
*
NBPTPlatform::getMyPos
() {
25
return
&
myPos
;
26
}
27
double
NBPTPlatform::getMyLength
()
const
{
28
return
myLength
;
29
}
NBPTPlatform.h
NBPTPlatform::myLength
double myLength
Definition:
NBPTPlatform.h:36
Position
A point in 2D or 3D with translation and scaling methods.
Definition:
Position.h:46
NBPTPlatform::NBPTPlatform
NBPTPlatform(Position position, double d)
Definition:
NBPTPlatform.cpp:21
NBPTPlatform::myPos
Position myPos
Definition:
NBPTPlatform.h:31
NBPTPlatform::getMyLength
double getMyLength() const
Definition:
NBPTPlatform.cpp:27
NBPTPlatform::getMyPos
Position * getMyPos()
Definition:
NBPTPlatform.cpp:24
src
netbuild
NBPTPlatform.cpp
Generated on Thu Sep 14 2017 00:17:10 for SUMO - Simulation of Urban MObility by
1.8.11