VR-Link API Documentation for HLA Evolved
mapDatum.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 DtMapDatum_H_
8 #define DtMapDatum_H_
9 
10 #include <vlutil/vlMachineTypes.h>
11 
16 
17 #ifdef DtUSE_UTILITIES_NAMESPACE
18 namespace DtUSE_UTILITIES_NAMESPACE
19 {
20 #endif
21 
28 {
29 public:
30 
33 
36 };
37 
51 {
52 public:
53 
55  DtMapDatum();
56 
60 
62  DtMapDatum( const DtMapDatum& src );
63 
65  ~DtMapDatum();
66 
68  DtMapDatum& operator=( const DtMapDatum& src );
69 
71  //WARNING: compares floating point values
72  int operator==( const DtMapDatum& rhs ) const;
73 
75  int operator!=( const DtMapDatum& rhs ) const;
76 
78  DtFloat64 datumShift[3];
79 };
80 
81 
83 const DtSpheroid DtWGS84Spheroid = { 6378137.0, 6356752.3142 };
84 
85 const DtSpheroid DtInternationalSpheroid = { 6378388.0, 6356911.946127 };
86 const DtSpheroid DtClark1866Spheroid = { 6378206.4, 6356583.8 };
87 
88 const DtMapDatum DtWGS84( DtWGS84Spheroid, 0.0, 0.0, 0.0 );
89 const DtMapDatum DtED50( DtInternationalSpheroid, -87.0, -98.0, -121.0 );
90 const DtMapDatum DtNASANAD27( DtClark1866Spheroid, -8.0, 161.0, 179.0 );
91 const DtMapDatum DtNASBNAD27( DtClark1866Spheroid, -8.0, 159.0, 175.0 );
92 const DtMapDatum DtCONUSNAD27( DtClark1866Spheroid, -8.0, 160.0, 176.0 );
93 
95 DT_DLL_MATRIX void DtUseMapDatum( const DtMapDatum& md );
96 
99 
100 #ifdef DtUSE_UTILITIES_NAMESPACE
101 }
102 #endif
103 
104 #endif
105 

Document ID: Generated on Wed Oct 23 22:25:48 EDT 2013 from SVN revision 132765
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)