Eclipse SUMO - Simulation of Urban MObility
NBPTPlatform.h
Go to the documentation of this file.
1
/****************************************************************************/
2
// Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo
3
// Copyright (C) 2001-2019 German Aerospace Center (DLR) and others.
4
// This program and the accompanying materials
5
// are made available under the terms of the Eclipse Public License v2.0
6
// which accompanies this distribution, and is available at
7
// http://www.eclipse.org/legal/epl-v20.html
8
// SPDX-License-Identifier: EPL-2.0
9
/****************************************************************************/
15
// The representation of a pt platform
16
/****************************************************************************/
17
18
#ifndef SUMO_NBPTPLATFORM_H
19
#define SUMO_NBPTPLATFORM_H
20
21
22
#include <
utils/geom/Position.h
>
23
class
NBPTPlatform
{
24
public
:
25
NBPTPlatform
(
Position
position,
double
d);
26
public
:
27
const
Position
&
getPos
()
const
;
28
void
reshiftPosition
(
const
double
offsetX,
const
double
offsetY);
29
double
getLength
()
const
;
30
private
:
31
Position
myPos
;
32
double
myLength
;
33
};
34
35
36
#endif //SUMO_NBPTPLATFORM_H
NBPTPlatform::getLength
double getLength() const
Definition:
NBPTPlatform.cpp:35
NBPTPlatform::reshiftPosition
void reshiftPosition(const double offsetX, const double offsetY)
Definition:
NBPTPlatform.cpp:29
NBPTPlatform::getPos
const Position & getPos() const
Definition:
NBPTPlatform.cpp:23
NBPTPlatform
Definition:
NBPTPlatform.h:23
NBPTPlatform::myLength
double myLength
Definition:
NBPTPlatform.h:32
Position
A point in 2D or 3D with translation and scaling methods.
Definition:
Position.h:39
NBPTPlatform::NBPTPlatform
NBPTPlatform(Position position, double d)
Definition:
NBPTPlatform.cpp:18
Position.h
NBPTPlatform::myPos
Position myPos
Definition:
NBPTPlatform.h:31
src
netbuild
NBPTPlatform.h
Generated on Wed Oct 2 2019 20:56:52 for Eclipse SUMO - Simulation of Urban MObility by
1.8.13