SUMO - Simulation of Urban MObility
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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-sim.org/
13 // Copyright (C) 2001-2014 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 #ifdef CHECK_MEMORY_LEAKS
37 #include <foreign/nvwa/debug_new.h>
38 #endif // CHECK_MEMORY_LEAKS
39 
40 
41 // ===========================================================================
42 // static member definitions
43 // ===========================================================================
44 
45 // Position 1Mio km below the surface should suffice for signaling invalidity inside the solar system
47  - 1024 * 1024 * 1024,
48  - 1024 * 1024 * 1024,
49  - 1024 * 1024 * 1024);
A point in 2D or 3D with translation and scaling methods.
Definition: Position.h:46
static const Position INVALID
Definition: Position.h:252