Isis 3 Programmer Reference
Mercator.h
Go to the documentation of this file.
1 #ifndef Mercator_h
2 #define Mercator_h
3 
25 #include "TProjection.h"
26 
27 namespace Isis {
28  class Pvl;
29  class PvlGroup;
73  class Mercator : public TProjection {
74  public:
75  Mercator(Pvl &label, bool allowDefaults = false);
76  ~Mercator();
77  bool operator== (const Projection &proj);
78 
79  QString Name() const;
80  QString Version() const;
81  double TrueScaleLatitude() const;
83 
84  bool SetGround(const double lat, const double lon);
85  bool SetCoordinate(const double x, const double y);
86  bool XYRange(double &minX, double &maxX, double &minY, double &maxY);
87 
88  PvlGroup Mapping();
91 
92  private:
95  double m_scalefactor;
96  };
97 };
98 
99 #endif
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.
Definition: Mercator.cpp:169
double m_centerLongitude
The center longitude for the map projection.
Definition: Mercator.h:93
bool operator==(const Projection &proj)
Compares two Projection objects to see if they are equal.
Definition: Mercator.cpp:109
Base class for Map TProjections.
Definition: TProjection.h:182
QString Version() const
Returns the version of the map projection.
Definition: Mercator.cpp:134
PvlGroup MappingLongitudes()
This function returns the longitude keywords that this projection uses.
Definition: Mercator.cpp:335
Mercator(Pvl &label, bool allowDefaults=false)
Constructs a Mercator object.
Definition: Mercator.cpp:53
PvlGroup Mapping()
This function returns the keywords that this projection uses.
Definition: Mercator.cpp:308
Base class for Map Projections.
Definition: Projection.h:171
QString Name() const
Returns the name of the map projection, "Mercator".
Definition: Mercator.cpp:124
~Mercator()
Destroys the Mercator object.
Definition: Mercator.cpp:98
Contains multiple PvlContainers.
Definition: PvlGroup.h:57
bool SetCoordinate(const double x, const double y)
This method is used to set the projection x/y.
Definition: Mercator.cpp:211
double TrueScaleLatitude() const
Returns the latitude of true scale in degrees.
Definition: Mercator.cpp:144
Container for cube-like labels.
Definition: Pvl.h:135
double m_scalefactor
Scaling factor.
Definition: Mercator.h:95
Mercator Map Projection.
Definition: Mercator.h:73
PvlGroup MappingLatitudes()
This function returns the latitude keywords that this projection uses.
Definition: Mercator.cpp:322
double m_centerLatitude
The center latitude for the map projection.
Definition: Mercator.h:94
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: Mercator.cpp:283
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
bool IsEquatorialCylindrical()
Indicates whether the projection is Equitorial Cylindrical.
Definition: Mercator.cpp:153