VR-Link API Documentation for HLA Evolved
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
include
matrix
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
27
class
DT_DLL_MATRIX
DtSpheroid
28
{
29
public
:
30
32
DtFloat64
semiMajor
;
33
35
DtFloat64
semiMinor
;
36
};
37
50
class
DT_DLL_MATRIX
DtMapDatum
51
{
52
public
:
53
55
DtMapDatum
();
56
59
DtMapDatum
(
const
DtSpheroid
& s,
DtFloat64
x,
DtFloat64
y,
DtFloat64
z );
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
77
DtSpheroid
spheroid
;
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
98
DT_DLL_MATRIX
const
DtMapDatum
&
DtCurrentMapDatum
();
99
100
#ifdef DtUSE_UTILITIES_NAMESPACE
101
}
102
#endif
103
104
#endif
105
Document ID: Generated on Wed Aug 14 15:35:11 EDT 2013 from SVN revision 130445
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)