Isis 3 Programmer Reference
Mercator.h
1 #ifndef Mercator_h
2 #define Mercator_h
3 
8 /* SPDX-License-Identifier: CC0-1.0 */
9 #include "TProjection.h"
10 
11 namespace 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 
72  PvlGroup Mapping();
75 
76  private:
79  double m_scalefactor;
80  };
81 };
82 
83 #endif
Isis::Mercator::TrueScaleLatitude
double TrueScaleLatitude() const
Returns the latitude of true scale in degrees.
Definition: Mercator.cpp:128
Isis::Mercator::SetCoordinate
bool SetCoordinate(const double x, const double y)
This method is used to set the projection x/y.
Definition: Mercator.cpp:195
Isis::Mercator::IsEquatorialCylindrical
bool IsEquatorialCylindrical()
Indicates whether the projection is Equitorial Cylindrical.
Definition: Mercator.cpp:137
Isis::Mercator::MappingLatitudes
PvlGroup MappingLatitudes()
This function returns the latitude keywords that this projection uses.
Definition: Mercator.cpp:306
Isis::Pvl
Container for cube-like labels.
Definition: Pvl.h:119
Isis::Mercator::m_centerLatitude
double m_centerLatitude
The center latitude for the map projection.
Definition: Mercator.h:78
Isis::Mercator::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: Mercator.cpp:267
Isis::PvlGroup
Contains multiple PvlContainers.
Definition: PvlGroup.h:41
Isis::Mercator::Mercator
Mercator(Pvl &label, bool allowDefaults=false)
Constructs a Mercator object.
Definition: Mercator.cpp:37
Isis::TProjection
Base class for Map TProjections.
Definition: TProjection.h:166
Isis::Mercator::m_scalefactor
double m_scalefactor
Scaling factor.
Definition: Mercator.h:79
Isis::Mercator::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: Mercator.cpp:153
Isis::Mercator::Name
QString Name() const
Returns the name of the map projection, "Mercator".
Definition: Mercator.cpp:108
Isis::Mercator::MappingLongitudes
PvlGroup MappingLongitudes()
This function returns the longitude keywords that this projection uses.
Definition: Mercator.cpp:319
Isis::Mercator::Mapping
PvlGroup Mapping()
This function returns the keywords that this projection uses.
Definition: Mercator.cpp:292
Isis::Mercator::m_centerLongitude
double m_centerLongitude
The center longitude for the map projection.
Definition: Mercator.h:77
Isis::Mercator::Version
QString Version() const
Returns the version of the map projection.
Definition: Mercator.cpp:118
Isis::Mercator
Mercator Map Projection.
Definition: Mercator.h:57
Isis::Mercator::operator==
bool operator==(const Projection &proj)
Compares two Projection objects to see if they are equal.
Definition: Mercator.cpp:93
Isis::Projection
Base class for Map Projections.
Definition: Projection.h:155
Isis::Mercator::~Mercator
~Mercator()
Destroys the Mercator object.
Definition: Mercator.cpp:82
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16