Isis Developer Reference
TransverseMercator.h
Go to the documentation of this file.
1#ifndef TransverseMercator_h
2#define TransverseMercator_h
8/* SPDX-License-Identifier: CC0-1.0 */
9#include "TProjection.h"
10
11namespace 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
73
74 private:
75 double m_centerLongitude;
76 double m_centerLatitude;
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
Base class for Map Projections.
Definition Projection.h:155
Contains multiple PvlContainers.
Definition PvlGroup.h:41
Container for cube-like labels.
Definition Pvl.h:119
Base class for Map TProjections.
Definition TProjection.h:166
TransverseMercator Map Projection.
Definition TransverseMercator.h:57
~TransverseMercator()
Destroys the TransverseMercator object.
Definition TransverseMercator.cpp:115
bool SetCoordinate(const double x, const double y)
This method is used to set the projection x/y.
Definition TransverseMercator.cpp:266
QString Version() const
Returns the version of the map projection.
Definition TransverseMercator.cpp:151
PvlGroup Mapping()
This function returns the keywords that this projection uses.
Definition TransverseMercator.cpp:427
PvlGroup MappingLongitudes()
This function returns the longitude keywords that this projection uses.
Definition TransverseMercator.cpp:455
bool operator==(const Projection &proj)
Compares two Projection objects to see if they are equal.
Definition TransverseMercator.cpp:126
TransverseMercator(Pvl &label, bool allowDefaults=false)
Constructs a TransverseMercator object.
Definition TransverseMercator.cpp:39
QString Name() const
Returns the name of the map projection, "TransverseMercator".
Definition TransverseMercator.cpp:141
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
PvlGroup MappingLatitudes()
This function returns the latitude keywords that this projection uses.
Definition TransverseMercator.cpp:442
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
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16