VR-Forces 4.7 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrvUtil
DtLambertCoordinateConverter.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 1999 MaK Technologies, Inc.
3
** All rights reserved.
4
*********************************************************************/
5
/*********************************************************************
6
** $RCSfile: DtLambertCoordinateConverter.h,v $ $Revision: 1.11 $ $State: Exp $
7
*********************************************************************/
8
11
12
#ifndef DtLambertCoordinateConverter_H_
13
#define DtLambertCoordinateConverter_H_
14
15
#include <
vrvUtil/DtCoordinateConverter.h
>
16
17
namespace
makVrv
18
{
19
24
class
DT_DLL_VRVUTIL
DtLambertCoordinateConverter
:
public
DtCoordinateConverter
25
{
26
public
:
27
29
DtLambertCoordinateConverter
();
30
32
virtual
~
DtLambertCoordinateConverter
();
33
35
virtual
DtCoordinateConverter
* clone()
const
;
36
39
virtual
void
init
(
double
lat,
double
lon,
double
par1,
double
par2);
40
43
virtual
void
init
(
const
DtDegMinSec& lat,
const
DtDegMinSec& lon,
const
DtDegMinSec& par1,
const
DtDegMinSec& par2);
44
47
virtual
void
init
(
const
DtGeodeticCoord&
origin
,
double
par1,
double
par2);
48
53
virtual
bool
init
(
const
std::string& latlonstring);
54
56
virtual
std::string stringRep();
57
60
virtual
void
reset();
61
63
virtual
const
DtGeodeticCoord&
origin
()
const
;
64
66
virtual
double
parallel1()
const
;
67
69
virtual
double
parallel2()
const
;
70
71
virtual
const
DtReal lambda0()
const
;
72
virtual
const
DtReal phi0()
const
;
73
virtual
const
DtReal phi1()
const
;
74
virtual
const
DtReal phi2()
const
;
75
76
/********************* Conversions *****************************/
78
virtual
void
geocToCig(
const
DtVector
& geoc,
DtVector
& out)
const
;
79
81
virtual
void
cigToGeoc(
const
DtVector
& in,
DtVector
& geoc)
const
;
82
84
virtual
void
calcIntermediateParameters(DtReal* n,DtReal*
F
,DtReal* p0);
85
86
public
:
87
88
static
DtCoordinateConverter
* create();
89
90
protected
:
91
94
std::string parseLambert(
const
DtDegMinSec& lat,
const
DtDegMinSec& lng,
const
DtDegMinSec& par1,
const
DtDegMinSec& par2 );
95
96
private
:
97
99
DtLambertCoordinateConverter
(
const
DtLambertCoordinateConverter
& orig);
100
102
DtLambertCoordinateConverter
& operator=(
const
DtLambertCoordinateConverter
& orig);
103
104
protected
:
105
106
double
myParallel1
;
107
double
myParallel2
;
108
110
DtReal
myA
;
111
DtReal
myB
;
112
DtReal
myE
;
113
DtReal
myPhi0
;
114
DtReal myPhi1,
myPhi2
;
115
DtReal
myLambda0
;
116
117
118
DtReal
myN
;
119
DtReal
myF
;
120
DtReal
myP0
;
121
122
};
123
124
}
125
126
#endif
Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (
www.mak.com
)