|
Isis Developer Reference
|
Go to the documentation of this file. 1 #ifndef PolarStereographic_h
2 #define PolarStereographic_h
74 bool SetGround(
const double lat,
const double lon);
76 bool XYRange(
double &minX,
double &maxX,
double &minY,
double &maxY);
83 double m_centerLongitude;
84 double m_centerLatitude;
double m_maximumLatitude
Contains the maximum latitude for the entire ground range.
Definition: TProjection.h:356
const double HALFPI
The mathematical constant PI/2.
Definition: Constants.h:41
double m_longitude
This contains the currently set longitude value.
Definition: TProjection.h:318
int m_longitudeDomain
This integer is either 180 or 360 and is read from the labels.
Definition: TProjection.h:331
PvlGroupIterator findGroup(const QString &name, PvlGroupIterator beg, PvlGroupIterator end)
Find a group with the specified name, within these indexes.
Definition: PvlObject.h:129
double m_minimumLongitude
Contains the minimum longitude for the entire ground range.
Definition: TProjection.h:358
Isis::Projection * PolarStereographicPlugin(Isis::Pvl &lab, bool allowDefaults)
This is the function that is called in order to instantiate an PolarStereographic object.
Definition: PolarStereographic.cpp:401
double m_latitude
This contains the currently set latitude value.
Definition: TProjection.h:316
const double PI
The mathematical constant PI.
Definition: Constants.h:40
A single keyword-value pair.
Definition: PvlKeyword.h:82
LongitudeDirection m_longitudeDirection
An enumerated type indicating the LongitudeDirection read from the labels.
Definition: TProjection.h:324
double m_minimumLatitude
Contains the minimum latitude for the entire ground range.
Definition: TProjection.h:354
@ PositiveWest
Longitude values increase in the westerly direction.
Definition: TProjection.h:225
double e4Compute() const
A convience method to compute.
Definition: TProjection.cpp:1891
@ Unknown
A type of error that cannot be classified as any of the other error types.
Definition: IException.h:118
double m_minimumY
See minimumX description.
Definition: Projection.h:327
PolarStereographic(Pvl &label, bool allowDefaults=false)
Constructs a PolarStereographic object.
Definition: PolarStereographic.cpp:42
double GetX() const
Calculates the unrotated form of current x value.
Definition: Projection.cpp:818
double tCompute(const double phi, const double sinphi) const
A convience method to compute Snyder's t equation (15-9) for a given latitude, .
Definition: TProjection.cpp:1870
bool hasKeyword(const QString &name) const
Check to see if a keyword exists.
Definition: PvlContainer.cpp:159
Container for cube-like labels.
Definition: Pvl.h:119
void SetXY(double x, double y)
This protected method is a helper for derived classes.
Definition: Projection.cpp:804
double ToPlanetocentric(const double lat) const
This method converts a planetographic latitude to a planetocentric latitude.
Definition: TProjection.cpp:418
void XYRangeCheck(const double latitude, const double longitude)
This convience function is established to assist in the development of the XYRange virtual method.
Definition: TProjection.cpp:1062
QString toString(bool boolToConvert)
Global function to convert a boolean to a string.
Definition: IString.cpp:211
PvlGroup m_mappingGrp
Mapping group that created this projection.
Definition: Projection.h:329
double GetY() const
Calculates the unrotated form of the current y value.
Definition: Projection.cpp:829
@ Traverse
Search child objects.
Definition: PvlObject.h:158
double m_minimumX
The data elements m_minimumX, m_minimumY, m_maximumX, and m_maximumY are convience data elements when...
Definition: Projection.h:317
Contains multiple PvlContainers.
Definition: PvlGroup.h:41
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
bool m_good
Indicates if the contents of m_x, m_y, m_latitude, and m_longitude are valid.
Definition: Projection.h:300
QString Name() const
Returns the name of the map projection, "PolarStereographic".
Definition: PolarStereographic.cpp:142
Base class for Map TProjections.
Definition: TProjection.h:166
Isis exception class.
Definition: IException.h:91
static double To180Domain(const double lon)
This method converts a longitude into the -180 to 180 domain.
Definition: TProjection.cpp:657
Stereographic Map Projection for Polar Aspect.
Definition: PolarStereographic.h:64
double TrueScaleLatitude() const
Returns the latitude of true scale.
Definition: PolarStereographic.cpp:166
virtual PvlGroup MappingLongitudes()
This function returns the longitude keywords that this projection uses.
Definition: TProjection.cpp:1739
void SetComputedXY(double x, double y)
This protected method is a helper for derived classes.
Definition: Projection.cpp:780
PvlGroup MappingLongitudes()
This function returns the longitude keywords that this projection uses.
Definition: PolarStereographic.cpp:377
@ Programmer
This error is for when a programmer made an API call that was illegal.
Definition: IException.h:146
Namespace for the standard library.
QString Version() const
Returns the version of the map projection.
Definition: PolarStereographic.cpp:153
double m_maximumLongitude
Contains the maximum longitude for the entire ground range.
Definition: TProjection.h:360
bool operator==(const Projection &proj)
Compares two Projection objects to see if they are equal.
Definition: PolarStereographic.cpp:126
bool SetCoordinate(const double x, const double y)
This method is used to set the projection x/y.
Definition: PolarStereographic.cpp:236
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: PolarStereographic.cpp:183
virtual PvlGroup MappingLatitudes()
This function returns the latitude keywords that this projection uses.
Definition: TProjection.cpp:1723
double ToPlanetographic(const double lat) const
This method converts a planetocentric latitude to a planetographic latitude.
Definition: TProjection.cpp:463
double phi2Compute(const double t) const
A convience method to compute latitude angle phi2 given small t, from Syder's recursive equation (7-9...
Definition: TProjection.cpp:1803
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: PolarStereographic.cpp:309
PvlGroup MappingLatitudes()
This function returns the latitude keywords that this projection uses.
Definition: PolarStereographic.cpp:363
virtual PvlGroup Mapping()
This function returns the keywords that this projection uses.
Definition: TProjection.cpp:1698
PvlGroup Mapping()
This function returns the keywords that this projection uses.
Definition: PolarStereographic.cpp:348
double m_equatorialRadius
Polar radius of the target.
Definition: TProjection.h:335
static double To360Domain(const double lon)
This method converts a longitude into the 0 to 360 domain.
Definition: TProjection.cpp:675
bool IsPlanetocentric() const
This indicates if the latitude type is planetocentric (as opposed to planetographic).
Definition: TProjection.cpp:392
double m_maximumY
See minimumX description.
Definition: Projection.h:328
Base class for Map Projections.
Definition: Projection.h:155
double m_maximumX
See minimumX description.
Definition: Projection.h:326
double mCompute(const double sinphi, const double cosphi) const
A convience method to compute Snyder's m equation (14-15) for a given latitude, .
Definition: TProjection.cpp:1847
~PolarStereographic()
Destroys the PolarStereographic object.
Definition: PolarStereographic.cpp:114
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
@ User
A type of error that could only have occurred due to a mistake on the user's part (e....
Definition: IException.h:126