Isis 3 Programmer Reference
Orthographic.h
Go to the documentation of this file.
1 #ifndef Orthographic_h
2 #define Orthographic_h
3 
25 #include "TProjection.h"
26 
27 namespace Isis {
28  class Pvl;
29  class PvlGroup;
91  class Orthographic : public TProjection {
92  public:
93  Orthographic(Pvl &label, bool allowDefaults = false);
94  ~Orthographic();
95  bool operator== (const Projection &proj);
96 
97  QString Name() const;
98  QString Version() const;
99  double TrueScaleLatitude() const;
100 
101  bool SetGround(const double lat, const double lon);
102  bool SetCoordinate(const double x, const double y);
103  bool XYRange(double &minX, double &maxX, double &minY, double &maxY);
104 
105  PvlGroup Mapping();
108 
109  private:
112  double m_sinph0;
113  double m_cosph0;
114  };
115 };
116 #endif
PvlGroup MappingLongitudes()
This function returns the longitude keywords that this projection uses.
double m_centerLongitude
The center longitude for the map projection.
Definition: Orthographic.h:110
Base class for Map TProjections.
Definition: TProjection.h:182
Orthographic Map Projection.
Definition: Orthographic.h:91
double m_cosph0
Cosine of the center latitude.
Definition: Orthographic.h:113
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...
double TrueScaleLatitude() const
Returns the center latitude, in degrees.
Base class for Map Projections.
Definition: Projection.h:171
PvlGroup MappingLatitudes()
This function returns the latitude keywords that this projection uses.
Contains multiple PvlContainers.
Definition: PvlGroup.h:57
QString Name() const
Returns the name of the map projection, "Orthographic".
bool operator==(const Projection &proj)
Compares two Projection objects to see if they are equal.
Container for cube-like labels.
Definition: Pvl.h:135
QString Version() const
Returns the version of the map projection.
Orthographic(Pvl &label, bool allowDefaults=false)
Constructs an Orthographic object.
PvlGroup Mapping()
This function returns the keywords that this projection uses.
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
double m_centerLatitude
The center latitude for the map projection.
Definition: Orthographic.h:111
bool SetCoordinate(const double x, const double y)
This method is used to set the projection x/y.
double m_sinph0
Sine of the center latitude.
Definition: Orthographic.h:112
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.
~Orthographic()
Destroys the Orthographic object.