Isis 3 Programmer Reference
ObliqueCylindrical.h
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.
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.
QString Version() const
Returns the version of the map projection.
std::vector< double > m_xAxisVector
The x-axis vector, read from the mapping group in the label.
~ObliqueCylindrical()
Destroys the ObliqueCylindrical object.
bool SetGround(const double lat, const double lon)
This method is used to set the latitude/longitude (assumed to be of the correct LatitudeType,...
bool operator==(const Isis::Projection &proj)
Compares two Projection objects to see if they are equal.
ObliqueCylindrical(Isis::Pvl &label, bool allowDefaults=false)
Constructs an ObliqueCylindrical object.
std::vector< double > m_yAxisVector
The y-axis vector, read from the mapping group in the label.
std::vector< double > m_zAxisVector
The z-axis vector, read from the mapping group in the label.
PvlGroup MappingLongitudes()
This function returns the longitude keywords that this projection uses.
double poleRotation() const
Returns the value of the pole rotation.
double m_poleLongitude
The Oblique Pole Longitude.
double poleLongitude() const
Returns the value of the pole longitude.
double m_poleLatitude
The Oblique Pole Latitude.
QString Name() const
Returns the name of the map projection, "ObliqueCylindrical".
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 SetCoordinate(const double x, const double y)
This method is used to set the projection x/y.
PvlGroup MappingLatitudes()
This function returns the latitude keywords that this projection uses.
double poleLatitude() const
Returns the value of the pole latitude.
PvlGroup Mapping()
This function returns the keywords that this projection uses.
double m_poleRotation
The Oblique Pole Rotation.
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.
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16