Isis Developer Reference
Mercator.h
Go to the documentation of this file.
1#ifndef Mercator_h
2#define Mercator_h
8/* SPDX-License-Identifier: CC0-1.0 */
9#include "TProjection.h"
10
11namespace Isis {
12 class Pvl;
13 class PvlGroup;
57 class Mercator : public TProjection {
58 public:
59 Mercator(Pvl &label, bool allowDefaults = false);
60 ~Mercator();
61 bool operator== (const Projection &proj);
62
63 QString Name() const;
64 QString Version() const;
65 double TrueScaleLatitude() const;
67
68 bool SetGround(const double lat, const double lon);
69 bool SetCoordinate(const double x, const double y);
70 bool XYRange(double &minX, double &maxX, double &minY, double &maxY);
71
75
76 private:
77 double m_centerLongitude;
78 double m_centerLatitude;
79 double m_scalefactor;
80 };
81};
82
83#endif
Mercator Map Projection.
Definition Mercator.h:57
double TrueScaleLatitude() const
Returns the latitude of true scale in degrees.
Definition Mercator.cpp:128
PvlGroup Mapping()
This function returns the keywords that this projection uses.
Definition Mercator.cpp:292
QString Name() const
Returns the name of the map projection, "Mercator".
Definition Mercator.cpp:108
PvlGroup MappingLatitudes()
This function returns the latitude keywords that this projection uses.
Definition Mercator.cpp:306
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:267
~Mercator()
Destroys the Mercator object.
Definition Mercator.cpp:82
bool SetCoordinate(const double x, const double y)
This method is used to set the projection x/y.
Definition Mercator.cpp:195
QString Version() const
Returns the version of the map projection.
Definition Mercator.cpp:118
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 Mercator.cpp:153
PvlGroup MappingLongitudes()
This function returns the longitude keywords that this projection uses.
Definition Mercator.cpp:319
bool IsEquatorialCylindrical()
Indicates whether the projection is Equitorial Cylindrical.
Definition Mercator.cpp:137
bool operator==(const Projection &proj)
Compares two Projection objects to see if they are equal.
Definition Mercator.cpp:93
Mercator(Pvl &label, bool allowDefaults=false)
Constructs a Mercator object.
Definition Mercator.cpp:37
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
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16