Isis 3 Programmer Reference
PolarStereographic.h
1#ifndef PolarStereographic_h
2#define PolarStereographic_h
8/* SPDX-License-Identifier: CC0-1.0 */
9#include "TProjection.h"
10
11namespace Isis {
12 class Pvl;
13 class PvlGroup;
65 public:
66 PolarStereographic(Pvl &label, bool allowDefaults = false);
68 bool operator== (const Projection &proj);
69
70 QString Name() const;
71 QString Version() const;
72 double TrueScaleLatitude() const;
73
74 bool SetGround(const double lat, const double lon);
75 bool SetCoordinate(const double x, const double y);
76 bool XYRange(double &minX, double &maxX, double &minY, double &maxY);
77
81
82 private:
85
86 double m_e4;
87 double m_t;
88 double m_m;
89 double m_signFactor;
91 double m_poleFlag;
95 };
96};
97
98#endif
99
Stereographic Map Projection for Polar Aspect.
PvlGroup Mapping()
This function returns the keywords that this projection uses.
QString Name() const
Returns the name of the map projection, "PolarStereographic".
~PolarStereographic()
Destroys the PolarStereographic object.
PvlGroup MappingLatitudes()
This function returns the latitude keywords that this projection uses.
bool operator==(const Projection &proj)
Compares two Projection objects to see if they are equal.
double TrueScaleLatitude() const
Returns the latitude of true scale.
double m_t
Snyder's t-value from equation (15-19).
double m_signFactor
If the center latitude is positive, the sign factor is 1.
double m_centerLatitude
The center latitude for the map projection.
double m_m
Snyder's m-value from equation (14-15).
double m_poleFlag
Indicates whether the center latitude is at a pole.
bool SetGround(const double lat, const double lon)
This method is used to set the latitude/longitude (assumed to be of the correct LatitudeType,...
double m_e4
Convenience variable for calculations.
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.
QString Version() const
Returns the version of the map projection.
PvlGroup MappingLongitudes()
This function returns the longitude keywords that this projection uses.
PolarStereographic(Pvl &label, bool allowDefaults=false)
Constructs a PolarStereographic object.
double m_centerLongitude
The center longitude for the map projection.
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