VR-Forces 4.1 Class Documentation
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(DtDegMinSec lat, DtDegMinSec lon, DtDegMinSec par1, 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( DtDegMinSec lat, DtDegMinSec lng, DtDegMinSec par1, DtDegMinSec par2 );
95 
96 private:
97 
100 
103 
104 protected:
105 
106  double myParallel1;
107  double myParallel2;
108 
110  DtReal a;
111  DtReal b;
112  DtReal e;
113  DtReal myPhi0;
114  DtReal myPhi1, myPhi2;
115  DtReal myLambda0;
116 
117 
118  DtReal n;
119  DtReal F;
120  DtReal p0;
121 
122 };
123 
124 }
125 
126 #endif

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)