GAMS  1.4.0
Coordinate.h
Go to the documentation of this file.
1 
54 #ifndef _GAMS_UTILITY_COORDINATE_H_
55 #define _GAMS_UTILITY_COORDINATE_H_
56 
57 #include "gams/pose/Coordinate.h"
58 
59 namespace gams
60 {
61  namespace utility
62  {
63  namespace order
64  {
72  template<int i0_, int i1_, int i2_>
73  using Order = gams::pose::order::Order<i0_, i1_, i2_>;
74 
75  static const int X = 0;
76  static const int Lng = X;
77 
78  static const int Y = 1;
79  static const int Lat = Y;
80 
81  static const int Z = 2;
82  static const int Alt = Z;
83 
86 
89 
92 
95 
98 
101 
104 
107 
109  typedef LatLng GPS;
110  }
111 
136  template<typename CoordType>
137  using Coordinate = gams::pose::Coordinate<CoordType>;
138  }
139 }
140 
141 #endif
static const int Z
Definition: Coordinate.h:81
static const int Lat
Definition: Coordinate.h:79
Order< X, Z, Y > XZY
Use to read/write in X/Z/Y order.
Definition: Coordinate.h:88
Order< Y, Z, X > YZX
Use to read/write in Y/Z/X order.
Definition: Coordinate.h:94
Order< Z, Y, X > ZYX
Use to read/write in Z/Y/X order.
Definition: Coordinate.h:100
Order< X, Y, Z > XYZ
Use to read/write in X/Y/Z order.
Definition: Coordinate.h:85
Order< Lng, Lat, Alt > LngLat
Use to read/write in Lng/Lat/Alt order.
Definition: Coordinate.h:106
Order< Lat, Lng, Alt > LatLng
Use to read/write in Lat/Lng/Alt order.
Definition: Coordinate.h:103
static const int Alt
Definition: Coordinate.h:82
Order< Z, X, Y > ZXY
Use to read/write in Z/X/Y order.
Definition: Coordinate.h:97
LatLng GPS
Use to read in conventional GPS Lat/Lng/Alt order.
Definition: Coordinate.h:109
gams::pose::order::Order< i0_, i1_, i2_ > Order
Used to specify ordering for reading from a container, e.g., as template argument to to_container and...
Definition: Coordinate.h:73
static const int Lng
Definition: Coordinate.h:76
static const int Y
Definition: Coordinate.h:78
static const int X
Definition: Coordinate.h:75
Order< Y, X, Z > YXZ
Use to read/write in Y/X/Z order.
Definition: Coordinate.h:91
gams::pose::Coordinate< CoordType > Coordinate
New coordinate types which are frame-dependant can inherit from this class.
Definition: Coordinate.h:137
Contains all GAMS-related tools, classes and code.
Copyright (c) 2015 Carnegie Mellon University.