VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
utmCoord.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 
7 #ifndef DtUtmCoord_H_
8 #define DtUtmCoord_H_
9 
10 #include "vlVector.h"
11 #include "geodeticCoord.h"
12 #include "utmReferencePoint.h"
13 #include "vlDcm.h"
14 
18 
19 #ifdef DtUSE_UTILITIES_NAMESPACE
20 namespace DtUSE_UTILITIES_NAMESPACE
21 {
22 #endif
23 
32 {
33 public:
34 
35 
38 
40  DtUtmCoord( double east, double north, double up,
42 
44  DtUtmCoord( const DtGeodeticCoord& geodetic,
46 
48  virtual ~DtUtmCoord();
49 
51  DtUtmCoord( const DtUtmCoord& src );
52 
54  DtUtmCoord& operator=( const DtUtmCoord& src );
55 
57  DtUtmCoord& operator=( const DtGeodeticCoord& geodetic );
58 
63  virtual DtUtmCoord& setGeodetic( const DtGeodeticCoord& geodetic );
64 
68  virtual void getGeodetic( DtGeodeticCoord& geodetic ) const;
69 
74  virtual DtGeodeticCoord geodetic() const;
75 
80  virtual DtUtmCoord& setGeocentric( const DtVector& geocentric );
81 
85  virtual void getGeocentric( DtVector& geocentric ) const;
86 
91  virtual DtVector geocentric() const;
92 
94  virtual void setEast( DtFloat64 east );
95  virtual DtFloat64 east() const;
96 
98  virtual void setNorth( DtFloat64 north );
99  virtual DtFloat64 north() const;
100 
102  virtual void setUp( DtFloat64 up );
103  virtual DtFloat64 up() const;
104 
106  virtual double gridDeclination() const;
107 
108 protected:
109 
111 };
112 
113 
115 
116 inline void DtUtmCoord::setEast( DtFloat64 east )
117 {
118  (*this)[0] = east;
119 }
120 
122 {
123  return (*this)[0];
124 }
125 
126 inline void DtUtmCoord::setNorth( DtFloat64 north )
127 {
128  (*this)[1] = north;
129 }
130 
132 {
133  return (*this)[1];
134 }
135 
136 inline void DtUtmCoord::setUp( DtFloat64 up )
137 {
138  (*this)[2] = up;
139 }
140 
141 inline DtFloat64 DtUtmCoord::up() const
142 {
143  return (*this)[2];
144 }
145 
146 
148 
154 
158 
162 
164  const DtDegMinSec& latRef,
165  const DtDegMinSec& lonRef,
166  int standardOffsets=1,
167  long zone = 0 );
168 
171 const DtDegMinSec DtUtmLatRef1_1 = { 35.0, 15.0, 0.0, DtNorth };
172 const DtDegMinSec DtUtmLonRef1_1 = { 122.0, 3.0, 59.0, DtWest };
173 
175 const DtDegMinSec DtUtmLatRef_IITSEC_93 = { 35.0, 15.0, 0.0, DtNorth };
176 const DtDegMinSec DtUtmLonRef_IITSEC_93 = { 122.0, 4.0, 0.0, DtWest };
177 
183 
184 const DtDegMinSec DtUtmLatRefZone10 = { 0.0, 0.0, 0.0, DtNorth };
185 const DtDegMinSec DtUtmLonRefZone10 = { 123.0, 0.0, 0.0, DtWest };
186 
188 
189 
190 
191 
192 DT_DLL_MATRIX void DtGeodToUtm( const DtGeodeticCoord& in, DtUtmCoord& out );
193 DT_DLL_MATRIX void DtUtmToGeod( const DtUtmCoord& utm, DtGeodeticCoord& out );
195 
197 
198 
199 
200 
201 DT_DLL_MATRIX void DtGeocToUtm( const DtVector& in, DtUtmCoord& out );
202 DT_DLL_MATRIX void DtUtmToGeoc( const DtUtmCoord& in, DtVector& out );
204 
207 
212 DT_DLL_MATRIX double DtUtmGridDeclination( const DtUtmCoord& utm );
213 DT_DLL_MATRIX double DtUtmGridDeclination( double lat, double lon );
214 
215 DT_DLL_MATRIX void DtGridDeclinationDcm( double gridDecl, DtDcmRef utm2ned );
216 
217 #ifdef DtUSE_UTILITIES_NAMESPACE
218 }
219 #endif
220 
221 #endif
222 

Document ID: Generated on Tue Mar 1 02:56:17 EST 2016 from SVN revision 162687
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)