Isis 3 Programmer Reference
TransverseMercator.h
1 #ifndef TransverseMercator_h
2 #define TransverseMercator_h
3 
8 /* SPDX-License-Identifier: CC0-1.0 */
9 #include "TProjection.h"
10 
11 namespace Isis {
12  class Pvl;
13  class PvlGroup;
58  public:
59  TransverseMercator(Pvl &label, bool allowDefaults = false);
61  bool operator== (const Projection &proj);
62 
63  QString Name() const;
64  QString Version() const;
65 
66  bool SetGround(const double lat, const double lon);
67  bool SetCoordinate(const double x, const double y);
68  bool XYRange(double &minX, double &maxX, double &minY, double &maxY);
69 
70  PvlGroup Mapping();
73 
74  private:
77  double m_scalefactor;
78  double m_eccsq;
79  double m_esp;
83  double m_e0;
87  double m_e1;
91  double m_e2;
94  double m_e3;
96  double m_ml0;
98  bool m_sph;
99  };
100 };
101 #endif
102 
Isis::TransverseMercator::SetCoordinate
bool SetCoordinate(const double x, const double y)
This method is used to set the projection x/y.
Definition: TransverseMercator.cpp:266
Isis::TransverseMercator::~TransverseMercator
~TransverseMercator()
Destroys the TransverseMercator object.
Definition: TransverseMercator.cpp:115
Isis::TransverseMercator::XYRange
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...
Definition: TransverseMercator.cpp:384
Isis::TransverseMercator::m_e3
double m_e3
Eccentricity Constant: e3 = 35e^6/3072 estimates the value e3 = 35e^6/3072 + ...
Definition: TransverseMercator.h:94
Isis::TransverseMercator::m_sph
bool m_sph
Flag set to true if sphere, and false if ellipsiod.
Definition: TransverseMercator.h:98
Isis::TransverseMercator::Version
QString Version() const
Returns the version of the map projection.
Definition: TransverseMercator.cpp:151
Isis::Pvl
Container for cube-like labels.
Definition: Pvl.h:119
Isis::TransverseMercator::Name
QString Name() const
Returns the name of the map projection, "TransverseMercator".
Definition: TransverseMercator.cpp:141
Isis::TransverseMercator::m_scalefactor
double m_scalefactor
Scale Factor for the projection.
Definition: TransverseMercator.h:77
Isis::TransverseMercator::SetGround
bool SetGround(const double lat, const double lon)
This method is used to set the latitude/longitude (assumed to be of the correct LatitudeType,...
Definition: TransverseMercator.cpp:167
Isis::TransverseMercator::m_eccsq
double m_eccsq
Eccentricity Squared.
Definition: TransverseMercator.h:78
Isis::PvlGroup
Contains multiple PvlContainers.
Definition: PvlGroup.h:41
Isis::TransverseMercator::m_e2
double m_e2
Eccentricity Constant: e2 = 15e^4/256 * (1 + 3e^2/4)) estimates the value e2 = 15e^4/256 + 45e^6/1024...
Definition: TransverseMercator.h:91
Isis::TProjection
Base class for Map TProjections.
Definition: TProjection.h:166
Isis::TransverseMercator
TransverseMercator Map Projection.
Definition: TransverseMercator.h:57
Isis::TransverseMercator::m_ml0
double m_ml0
Distance along the meridian from the equator to the center latitude.
Definition: TransverseMercator.h:96
Isis::TransverseMercator::Mapping
PvlGroup Mapping()
This function returns the keywords that this projection uses.
Definition: TransverseMercator.cpp:427
Isis::TransverseMercator::m_e0
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...
Definition: TransverseMercator.h:83
Isis::TransverseMercator::m_centerLongitude
double m_centerLongitude
The center longitude for the map projection.
Definition: TransverseMercator.h:75
Isis::TransverseMercator::m_centerLatitude
double m_centerLatitude
The center latitude for the map projection.
Definition: TransverseMercator.h:76
Isis::TransverseMercator::m_esp
double m_esp
Snyder's (e')^2 variable from equation (8-12) on page.
Definition: TransverseMercator.h:79
Isis::TransverseMercator::MappingLatitudes
PvlGroup MappingLatitudes()
This function returns the latitude keywords that this projection uses.
Definition: TransverseMercator.cpp:442
Isis::Projection
Base class for Map Projections.
Definition: Projection.h:155
Isis::TransverseMercator::operator==
bool operator==(const Projection &proj)
Compares two Projection objects to see if they are equal.
Definition: TransverseMercator.cpp:126
Isis::TransverseMercator::MappingLongitudes
PvlGroup MappingLongitudes()
This function returns the longitude keywords that this projection uses.
Definition: TransverseMercator.cpp:455
Isis::TransverseMercator::m_e1
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...
Definition: TransverseMercator.h:87
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
Isis::TransverseMercator::TransverseMercator
TransverseMercator(Pvl &label, bool allowDefaults=false)
Constructs a TransverseMercator object.
Definition: TransverseMercator.cpp:39