VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 
16 
17 namespace makVrv
18 {
19 
25 {
26 public:
27 
30 
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 
100 
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 
118  DtReal myN;
119  DtReal myF;
120  DtReal myP0;
121 
122 };
123 
124 }
125 
126 #endif
double myParallel1
Definition: DtLambertCoordinateConverter.h:106
#define DT_DLL_VRVUTIL
Definition: vrvUtil.h:34
DtCoordinateConverter is the base class for 'local (cig) to geocentric' converters.
Definition: DtCoordinateConverter.h:25
DtReal myLambda0
standard parallels of latitude
Definition: DtLambertCoordinateConverter.h:115
DtReal myF
intermediate parameters: don't rely on phi and lambda
Definition: DtLambertCoordinateConverter.h:119
voidpf uLong int origin
Definition: ioapi.h:42
DtReal myB
semi-major axis of the ellipsoid of reference
Definition: DtLambertCoordinateConverter.h:111
DtReal myE
semi-minor axis of the ellipsoid of reference
Definition: DtLambertCoordinateConverter.h:112
DtReal myPhi0
eccentricity of the ellipsoid (1 - b^2/a^2)^ (1/2)
Definition: DtLambertCoordinateConverter.h:113
Instances of vpNetLambertCoordConverter provide transformations and utilities for converting between ...
Definition: DtLambertCoordinateConverter.h:24
double myParallel2
Definition: DtLambertCoordinateConverter.h:107
DtReal myN
longitude east of Greenwich of the central meridian of the map
Definition: DtLambertCoordinateConverter.h:118
DtReal myPhi2
Definition: DtLambertCoordinateConverter.h:114
DtReal myA
the projection requires
Definition: DtLambertCoordinateConverter.h:110
DtReal myP0
Definition: DtLambertCoordinateConverter.h:120
DT_DLL_DEBUGDRAWRENDERER void init(makVrv::DtDe &de)
Work function for the plugin initialization.

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)