SUMO - Simulation of Urban MObility
Position.cpp
Go to the documentation of this file.
1
/****************************************************************************/
10
// A position in the 2D- or 3D-world
11
/****************************************************************************/
12
// SUMO, Simulation of Urban MObility; see http://sumo.dlr.de/
13
// Copyright (C) 2001-2017 DLR (http://www.dlr.de/) and contributors
14
/****************************************************************************/
15
//
16
// This file is part of SUMO.
17
// SUMO is free software: you can redistribute it and/or modify
18
// it under the terms of the GNU General Public License as published by
19
// the Free Software Foundation, either version 3 of the License, or
20
// (at your option) any later version.
21
//
22
/****************************************************************************/
23
24
// ===========================================================================
25
// included modules
26
// ===========================================================================
27
#ifdef _MSC_VER
28
#include <
windows_config.h
>
29
#else
30
#include <
config.h
>
31
#endif
32
33
#include <limits>
34
#include "
Position.h
"
35
36
37
// ===========================================================================
38
// static member definitions
39
// ===========================================================================
40
41
// Position 1Mio km below the surface should suffice for signaling invalidity inside the solar system
42
const
Position
Position::INVALID
(
43
- 1024 * 1024 * 1024,
44
- 1024 * 1024 * 1024,
45
- 1024 * 1024 * 1024);
windows_config.h
config.h
Position
A point in 2D or 3D with translation and scaling methods.
Definition:
Position.h:46
Position.h
Position::INVALID
static const Position INVALID
used to indicate that a position is valid
Definition:
Position.h:278
src
utils
geom
Position.cpp
Generated on Sun Dec 17 2017 21:15:31 for SUMO - Simulation of Urban MObility by
1.8.13