Isis 3 Programmer Reference
TransverseMercator.h
Go to the documentation of this file.
1 #ifndef TransverseMercator_h
2 #define TransverseMercator_h
3 
25 #include "TProjection.h"
26 
27 namespace Isis {
28  class Pvl;
29  class PvlGroup;
74  public:
75  TransverseMercator(Pvl &label, bool allowDefaults = false);
77  bool operator== (const Projection &proj);
78 
79  QString Name() const;
80  QString Version() const;
81 
82  bool SetGround(const double lat, const double lon);
83  bool SetCoordinate(const double x, const double y);
84  bool XYRange(double &minX, double &maxX, double &minY, double &maxY);
85 
86  PvlGroup Mapping();
89 
90  private:
93  double m_scalefactor;
94  double m_eccsq;
95  double m_esp;
99  double m_e0;
103  double m_e1;
107  double m_e2;
110  double m_e3;
112  double m_ml0;
114  bool m_sph;
115  };
116 };
117 #endif
118 
bool SetCoordinate(const double x, const double y)
This method is used to set the projection x/y.
PvlGroup MappingLongitudes()
This function returns the longitude keywords that this projection uses.
bool m_sph
Flag set to true if sphere, and false if ellipsiod.
Base class for Map TProjections.
Definition: TProjection.h:182
double m_e3
Eccentricity Constant: e3 = 35e^6/3072 estimates the value e3 = 35e^6/3072 + ...
QString Version() const
Returns the version of the map projection.
double m_scalefactor
Scale Factor for the projection.
bool XYRange(double &minX, double &maxX, double &minY, double &maxY)
This method is used to determine the x/y range which completely covers the area of interest specified...
double m_eccsq
Eccentricity Squared.
QString Name() const
Returns the name of the map projection, "TransverseMercator".
Base class for Map Projections.
Definition: Projection.h:171
double m_e2
Eccentricity Constant: e2 = 15e^4/256 * (1 + 3e^2/4)) estimates the value e2 = 15e^4/256 + 45e^6/1024...
Contains multiple PvlContainers.
Definition: PvlGroup.h:57
double m_e0
Eccentricity Constant: e0 = 1 - e^2/4 * (1 + 3e^2/16 * (3 + 5e^2/4)) estimates the value e0 = 1 - e^2...
bool SetGround(const double lat, const double lon)
This method is used to set the latitude/longitude (assumed to be of the correct LatitudeType, LongitudeDirection, and LongitudeDomain.
TransverseMercator Map Projection.
Container for cube-like labels.
Definition: Pvl.h:135
double m_ml0
Distance along the meridian from the equator to the center latitude.
double m_centerLongitude
The center longitude for the map projection.
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
double m_centerLatitude
The center latitude for the map projection.
TransverseMercator(Pvl &label, bool allowDefaults=false)
Constructs a TransverseMercator object.
PvlGroup Mapping()
This function returns the keywords that this projection uses.
double m_esp
Snyder's (e')^2 variable from equation (8-12) on page.
PvlGroup MappingLatitudes()
This function returns the latitude keywords that this projection uses.
double m_e1
Eccentricity Constant: e1 = 3e^2/8 * (1.0 + e^2/4 * (1.0 + 15e^2/32)) estimates the value e1 = 3e^2/8...
~TransverseMercator()
Destroys the TransverseMercator object.
bool operator==(const Projection &proj)
Compares two Projection objects to see if they are equal.