UNCLASSIFIED
GeographicTranslator
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Friends
Macros
master
geotrans3.7
CCS
src
dtcc
CoordinateSystems
misc
CoordinateSystem.h
Go to the documentation of this file.
1
// CLASSIFICATION: UNCLASSIFIED
2
3
#ifndef CoordinateSystem_H
4
#define CoordinateSystem_H
5
6
#include "
CoordinateSystem.h
"
7
#include "
DtccApi.h
"
8
9
namespace
MSP
10
{
11
namespace
CCS
12
{
13
class
MSP_DTCC_API
CoordinateSystem
14
{
15
public
:
16
17
/*
18
* The constructor defaults the ellipsoid parameters to WGS84.
19
*
20
*/
21
22
CoordinateSystem
();
23
24
25
/*
26
* The constructor receives the ellipsoid parameters and
27
* as inputs.
28
*
29
* ellipsoidSemiMajorAxis : Semi-major axis of ellipsoid, in meters (input)
30
* ellipsoidFlattening : Flattening of ellipsoid (input)
31
*/
32
33
CoordinateSystem
(
double
_semiMajorAxis,
double
_flattening );
34
35
36
~
CoordinateSystem
();
37
38
39
/*
40
* The function getParameters returns the current ellipsoid
41
* parameters.
42
*
43
* ellipsoidSemiMajorAxis : Semi-major axis of ellipsoid, in meters (output)
44
* ellipsoidFlattening : Flattening of ellipsoid (output)
45
*/
46
47
void
getEllipsoidParameters(
double
* _semiMajorAxis,
double
* _flattening );
48
49
protected
:
50
51
double
semiMajorAxis
;
52
double
flattening
;
53
54
};
55
}
56
}
57
58
#endif
59
60
61
62
// CLASSIFICATION: UNCLASSIFIED
Generated on Tue Feb 16 2016 14:54:02 for GeographicTranslator by doxygen 1.8.2