Isis 3 Programmer Reference
Mollweide.h
1 #ifndef Mollweide_h
2 #define Mollweide_h
3 
8 /* SPDX-License-Identifier: CC0-1.0 */
9 #include "TProjection.h"
10 
11 namespace Isis {
12  class Pvl;
13  class PvlGroup;
50  class Mollweide : public TProjection {
51  public:
52  Mollweide(Pvl &label, bool allowDefaults = false);
53  ~Mollweide();
54  bool operator== (const Projection &proj);
55 
56  QString Name() const;
57  QString Version() const;
58 
59  bool newton_rapheson(double gamma, double &result);
60  bool SetGround(const double lat, const double lon);
61  bool SetCoordinate(const double x, const double y);
62  bool XYRange(double &minX, double &maxX, double &minY, double &maxY);
63 
64  PvlGroup Mapping();
67 
68  private:
70 
71  };
72 };
73 
74 #endif
75 
Isis::Mollweide::XYRange
bool XYRange(double &minX, double &maxX, double &minY, double &maxY)
Find x/y range from lat/lon range.
Definition: Mollweide.cpp:297
Isis::Mollweide::operator==
bool operator==(const Projection &proj)
Compares two Projection objects to see if they are equal.
Definition: Mollweide.cpp:83
Isis::Mollweide::SetCoordinate
bool SetCoordinate(const double x, const double y)
This method is used to set the projection x/y.
Definition: Mollweide.cpp:219
Isis::Mollweide::Mapping
PvlGroup Mapping()
This function returns the keywords that this projection uses.
Definition: Mollweide.cpp:329
Isis::Mollweide::MappingLatitudes
PvlGroup MappingLatitudes()
This function returns the latitude keywords that this projection uses.
Definition: Mollweide.cpp:343
Isis::Pvl
Container for cube-like labels.
Definition: Pvl.h:119
Isis::Mollweide::newton_rapheson
bool newton_rapheson(double gamma, double &result)
The Newton-Rapheson method is used to find an iterative solution for:
Definition: Mollweide.cpp:131
Isis::Mollweide::Mollweide
Mollweide(Pvl &label, bool allowDefaults=false)
Constructs a Mollweide object.
Definition: Mollweide.cpp:44
Isis::Mollweide::Version
QString Version() const
Returns the version of the map projection.
Definition: Mollweide.cpp:107
Isis::PvlGroup
Contains multiple PvlContainers.
Definition: PvlGroup.h:41
Isis::TProjection
Base class for Map TProjections.
Definition: TProjection.h:166
Isis::Mollweide::Name
QString Name() const
Returns the name of the map projection, "Mollweide".
Definition: Mollweide.cpp:98
Isis::Mollweide::MappingLongitudes
PvlGroup MappingLongitudes()
This function returns the longitude keywords that this projection uses.
Definition: Mollweide.cpp:355
Isis::Mollweide::SetGround
bool SetGround(const double lat, const double lon)
Set lat/lon and attempt to calculate x/y values.
Definition: Mollweide.cpp:176
Isis::Mollweide::~Mollweide
~Mollweide()
Destroys the Mollweide object.
Definition: Mollweide.cpp:71
Isis::Projection
Base class for Map Projections.
Definition: Projection.h:155
Isis::Mollweide::m_centerLongitude
double m_centerLongitude
The center longitude for the map projection.
Definition: Mollweide.h:69
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
Isis::Mollweide
Mollweide Map Projection.
Definition: Mollweide.h:50