Isis Developer Reference
ObliqueCylindrical.h
Go to the documentation of this file.
1#ifndef ObliqueCylindrical_h
2#define ObliqueCylindrical_h
8/* SPDX-License-Identifier: CC0-1.0 */
9#include "TProjection.h"
10
11namespace Isis {
12 class Pvl;
13 class PvlGroup;
67 public:
68 ObliqueCylindrical(Isis::Pvl &label, bool allowDefaults = false);
70 bool operator==(const Isis::Projection &proj);
71
72 QString Name() const;
73 QString Version() const;
74
75 bool SetGround(const double lat, const double lon);
76 bool SetCoordinate(const double x, const double y);
77 bool XYRange(double &minX, double &maxX, double &minY, double &maxY);
78
82
83 double poleLatitude() const;
84 double poleLongitude() const;
85 double poleRotation() const;
86
87 private:
88 void init();
89
90 // These are the oblique projection pole values in degrees.
91 double m_poleLatitude;
92 double m_poleLongitude;
93 double m_poleRotation;
94
95 // These vectors are not used by the projection
96 std::vector<double> m_xAxisVector;
98 std::vector<double> m_yAxisVector;
100 std::vector<double> m_zAxisVector;
102 };
103};
104
105#endif
106
Oblique Cylindrical Map Projection.
Definition ObliqueCylindrical.h:66
QString Version() const
Returns the version of the map projection.
Definition ObliqueCylindrical.cpp:191
~ObliqueCylindrical()
Destroys the ObliqueCylindrical object.
Definition ObliqueCylindrical.cpp:153
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 ObliqueCylindrical.cpp:207
bool operator==(const Isis::Projection &proj)
Compares two Projection objects to see if they are equal.
Definition ObliqueCylindrical.cpp:164
ObliqueCylindrical(Isis::Pvl &label, bool allowDefaults=false)
Constructs an ObliqueCylindrical object.
Definition ObliqueCylindrical.cpp:37
PvlGroup MappingLongitudes()
This function returns the longitude keywords that this projection uses.
Definition ObliqueCylindrical.cpp:382
double poleRotation() const
Returns the value of the pole rotation.
Definition ObliqueCylindrical.cpp:414
double poleLongitude() const
Returns the value of the pole longitude.
Definition ObliqueCylindrical.cpp:404
QString Name() const
Returns the name of the map projection, "ObliqueCylindrical".
Definition ObliqueCylindrical.cpp:181
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 ObliqueCylindrical.cpp:345
bool SetCoordinate(const double x, const double y)
This method is used to set the projection x/y.
Definition ObliqueCylindrical.cpp:267
PvlGroup MappingLatitudes()
This function returns the latitude keywords that this projection uses.
Definition ObliqueCylindrical.cpp:371
double poleLatitude() const
Returns the value of the pole latitude.
Definition ObliqueCylindrical.cpp:394
PvlGroup Mapping()
This function returns the keywords that this projection uses.
Definition ObliqueCylindrical.cpp:356
Base class for Map Projections.
Definition Projection.h:155
Contains multiple PvlContainers.
Definition PvlGroup.h:41
Container for cube-like labels.
Definition Pvl.h:119
Base class for Map TProjections.
Definition TProjection.h:166
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16