Isis 3 Programmer Reference
Orthographic.h
1 #ifndef Orthographic_h
2 #define Orthographic_h
3 
8 /* SPDX-License-Identifier: CC0-1.0 */
9 #include "TProjection.h"
10 
11 namespace Isis {
12  class Pvl;
13  class PvlGroup;
75  class Orthographic : public TProjection {
76  public:
77  Orthographic(Pvl &label, bool allowDefaults = false);
78  ~Orthographic();
79  bool operator== (const Projection &proj);
80 
81  QString Name() const;
82  QString Version() const;
83  double TrueScaleLatitude() const;
84 
85  bool SetGround(const double lat, const double lon);
86  bool SetCoordinate(const double x, const double y);
87  bool XYRange(double &minX, double &maxX, double &minY, double &maxY);
88 
89  PvlGroup Mapping();
92 
93  private:
96  double m_sinph0;
97  double m_cosph0;
98  };
99 };
100 #endif
Isis::Orthographic::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: Orthographic.cpp:373
Isis::Orthographic::Version
QString Version() const
Returns the version of the map projection.
Definition: Orthographic.cpp:190
Isis::Orthographic::Mapping
PvlGroup Mapping()
This function returns the keywords that this projection uses.
Definition: Orthographic.cpp:481
Isis::Orthographic::Name
QString Name() const
Returns the name of the map projection, "Orthographic".
Definition: Orthographic.cpp:180
Isis::Orthographic
Orthographic Map Projection.
Definition: Orthographic.h:75
Isis::Pvl
Container for cube-like labels.
Definition: Pvl.h:119
Isis::Orthographic::SetCoordinate
bool SetCoordinate(const double x, const double y)
This method is used to set the projection x/y.
Definition: Orthographic.cpp:268
Isis::Orthographic::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: Orthographic.cpp:221
Isis::PvlGroup
Contains multiple PvlContainers.
Definition: PvlGroup.h:41
Isis::TProjection
Base class for Map TProjections.
Definition: TProjection.h:166
Isis::Orthographic::~Orthographic
~Orthographic()
Destroys the Orthographic object.
Definition: Orthographic.cpp:155
Isis::Orthographic::MappingLongitudes
PvlGroup MappingLongitudes()
This function returns the longitude keywords that this projection uses.
Definition: Orthographic.cpp:507
Isis::Orthographic::m_sinph0
double m_sinph0
Sine of the center latitude.
Definition: Orthographic.h:96
Isis::Orthographic::operator==
bool operator==(const Projection &proj)
Compares two Projection objects to see if they are equal.
Definition: Orthographic.cpp:166
Isis::Orthographic::MappingLatitudes
PvlGroup MappingLatitudes()
This function returns the latitude keywords that this projection uses.
Definition: Orthographic.cpp:495
Isis::Orthographic::Orthographic
Orthographic(Pvl &label, bool allowDefaults=false)
Constructs an Orthographic object.
Definition: Orthographic.cpp:39
Isis::Orthographic::m_cosph0
double m_cosph0
Cosine of the center latitude.
Definition: Orthographic.h:97
Isis::Projection
Base class for Map Projections.
Definition: Projection.h:155
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
Isis::Orthographic::TrueScaleLatitude
double TrueScaleLatitude() const
Returns the center latitude, in degrees.
Definition: Orthographic.cpp:203
Isis::Orthographic::m_centerLongitude
double m_centerLongitude
The center longitude for the map projection.
Definition: Orthographic.h:94
Isis::Orthographic::m_centerLatitude
double m_centerLatitude
The center latitude for the map projection.
Definition: Orthographic.h:95