Isis 3 Developer Reference
Equirectangular.h
Go to the documentation of this file.
1 #ifndef Equirectangular_h
2 #define Equirectangular_h
3 
26 #include "TProjection.h"
27 
28 namespace Isis {
29  class Pvl;
86  class Equirectangular : public TProjection {
87  public:
88  Equirectangular(Pvl &label, bool allowDefaults = false);
90  bool operator==(const Projection &proj);
91 
92  QString Name() const;
93  QString Version() const;
94  double TrueScaleLatitude() const;
96 
97  bool SetGround(const double lat, const double lon);
98  bool SetCoordinate(const double x, const double y);
99  bool XYRange(double &minX, double &maxX, double &minY, double &maxY);
100 
101  virtual PvlGroup Mapping();
102  virtual PvlGroup MappingLatitudes();
103  virtual PvlGroup MappingLongitudes();
104 
105  private:
106  double m_centerLongitude;
107  double m_centerLatitude;
108  double m_cosCenterLatitude;
109  double m_clatRadius;
111  };
112 };
113 
114 #endif
115 
virtual PvlGroup MappingLatitudes()
This function returns a PvlGroup containing the latitude keywords that this projection uses...
Definition: Equirectangular.cpp:324
virtual PvlGroup Mapping()
This function returns a PvlGroup containing the keywords that this projection uses, namely CenterLatitude and CenterLongitude.
Definition: Equirectangular.cpp:309
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: Equirectangular.cpp:201
bool SetCoordinate(const double x, const double y)
This method is used to set the projection x/y.
Definition: Equirectangular.cpp:231
QString Version() const
Returns the version of the map projection.
Definition: Equirectangular.cpp:167
Base class for Map TProjections.
Definition: TProjection.h:182
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: Equirectangular.cpp:283
bool operator==(const Projection &proj)
Compares two Projection objects to see if they are equal.
Definition: Equirectangular.cpp:143
Base class for Map Projections.
Definition: Projection.h:171
Equirectangular(Pvl &label, bool allowDefaults=false)
Constructs a Equirectangular object.
Definition: Equirectangular.cpp:65
Equirectangular Map Projection.
Definition: Equirectangular.h:86
~Equirectangular()
Destroys the Equirectangular object.
Definition: Equirectangular.cpp:132
Contains multiple PvlContainers.
Definition: PvlGroup.h:57
Container for cube-like labels.
Definition: Pvl.h:135
double TrueScaleLatitude() const
Returns the latitude of true scale, in degrees.
Definition: Equirectangular.cpp:177
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
bool IsEquatorialCylindrical()
Indicates whether the projection is Equitorial Cylindrical.
Definition: Equirectangular.cpp:186
virtual PvlGroup MappingLongitudes()
This function returns a PvlGroup containing the longitude keywords that this projection uses...
Definition: Equirectangular.cpp:338
QString Name() const
Returns the name of the map projection, "Equirectangular".
Definition: Equirectangular.cpp:158