VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
mapDatum.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1992-2010 MAK Technologies, Inc
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 
DtFloat64 semiMinor
Semiminor axis of the ellipsoid, in meters.
Definition: mapDatum.h:35
const bool operator==(const DtU128 &lhs, const DtU128 &rhs)
const DtMapDatum DtED50(DtInternationalSpheroid,-87.0,-98.0,-121.0)
DtSpheroid spheroid
Definition: mapDatum.h:77
DtMapDatums represent a spheroid model of the earth, with a data shift to facilitate easy conversion ...
Definition: mapDatum.h:50
const DtMapDatum DtNASANAD27(DtClark1866Spheroid,-8.0, 161.0, 179.0)
DtSpheroid represents an ellipsoid model of the earth.
Definition: mapDatum.h:27
const DtMapDatum DtNASBNAD27(DtClark1866Spheroid,-8.0, 159.0, 175.0)
const DtMapDatum DtWGS84(DtWGS84Spheroid, 0.0, 0.0, 0.0)
DtFloat64 semiMajor
Semimajor axis of the ellipsoid, in meters.
Definition: mapDatum.h:32
const DtSpheroid DtClark1866Spheroid
Definition: mapDatum.h:86
const DtSpheroid DtWGS84Spheroid
The WGS84 Spheroid is the most commonly used DtSpheroid.
Definition: mapDatum.h:83
#define DT_DLL_MATRIX
Definition: vlMachineTypes.h:107
const bool operator!=(const DtU128 &lhs, const DtU128 &rhs)
const DtMapDatum DtCONUSNAD27(DtClark1866Spheroid,-8.0, 160.0, 176.0)
const DtMapDatum & DtCurrentMapDatum()
Gets the default DtMapDatum used in geodetic conversions.
const DtSpheroid DtInternationalSpheroid
Definition: mapDatum.h:85
This file contains typedefs for machine dependant types.
void DtUseMapDatum(const DtMapDatum &md)
Sets the default DtMapDatum used in geodetic conversions.

Document ID: Generated on Thu Sep 19 02:12:35 EDT 2024 from SVN revision 269601
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)