Isis 3 Programmer 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:
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...
virtual PvlGroup Mapping()
This function returns a PvlGroup containing the keywords that this projection uses, namely CenterLatitude and CenterLongitude.
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.
double m_centerLatitude
The center latitude for the map projection.
bool SetCoordinate(const double x, const double y)
This method is used to set the projection x/y.
QString Version() const
Returns the version of the map projection.
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...
bool operator==(const Projection &proj)
Compares two Projection objects to see if they are equal.
Base class for Map Projections.
Definition: Projection.h:171
Equirectangular(Pvl &label, bool allowDefaults=false)
Constructs a Equirectangular object.
Equirectangular Map Projection.
double m_clatRadius
The radius of the target planet at the center latitude.
~Equirectangular()
Destroys the Equirectangular object.
Contains multiple PvlContainers.
Definition: PvlGroup.h:57
Container for cube-like labels.
Definition: Pvl.h:135
double m_cosCenterLatitude
Cosine of the center latitude.
double m_centerLongitude
The center longitude for the map projection.
double TrueScaleLatitude() const
Returns the latitude of true scale, in degrees.
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
bool IsEquatorialCylindrical()
Indicates whether the projection is Equitorial Cylindrical.
virtual PvlGroup MappingLongitudes()
This function returns a PvlGroup containing the longitude keywords that this projection uses...
QString Name() const
Returns the name of the map projection, "Equirectangular".