SUMO - Simulation of Urban MObility
NBPTPlatform.cpp
Go to the documentation of this file.
1
/****************************************************************************/
2
// Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo
3
// Copyright (C) 2001-2017 German Aerospace Center (DLR) and others.
4
/****************************************************************************/
5
//
6
// This program and the accompanying materials
7
// are made available under the terms of the Eclipse Public License v2.0
8
// which accompanies this distribution, and is available at
9
// http://www.eclipse.org/legal/epl-v20.html
10
//
11
/****************************************************************************/
17
// The representation of a pt platform
18
/****************************************************************************/
19
#include "
NBPTPlatform.h
"
20
NBPTPlatform::NBPTPlatform
(
Position
position,
double
d): myPos(position), myLength(d) {
21
22
}
23
Position
*
NBPTPlatform::getMyPos
() {
24
return
&
myPos
;
25
}
26
double
NBPTPlatform::getMyLength
()
const
{
27
return
myLength
;
28
}
NBPTPlatform::getMyLength
double getMyLength() const
Definition:
NBPTPlatform.cpp:26
NBPTPlatform.h
NBPTPlatform::myLength
double myLength
Definition:
NBPTPlatform.h:35
Position
A point in 2D or 3D with translation and scaling methods.
Definition:
Position.h:45
NBPTPlatform::NBPTPlatform
NBPTPlatform(Position position, double d)
Definition:
NBPTPlatform.cpp:20
NBPTPlatform::myPos
Position myPos
Definition:
NBPTPlatform.h:30
NBPTPlatform::getMyPos
Position * getMyPos()
Definition:
NBPTPlatform.cpp:23
src
netbuild
NBPTPlatform.cpp
Generated on Sun Dec 24 2017 17:07:43 for SUMO - Simulation of Urban MObility by
1.8.13