|
Isis Developer Reference
|
Go to the documentation of this file.
60 bool SetGround(
const double lat,
const double lon);
62 bool XYRange(
double &minX,
double &maxX,
double &minY,
double &maxY);
69 double m_centerLongitude;
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
bool XYRange(double &minX, double &maxX, double &minY, double &maxY)
Find x/y range from lat/lon range.
Definition: Mollweide.cpp:297
double m_longitude
This contains the currently set longitude value.
Definition: TProjection.h:318
PvlGroupIterator findGroup(const QString &name, PvlGroupIterator beg, PvlGroupIterator end)
Find a group with the specified name, within these indexes.
Definition: PvlObject.h:129
@ Io
A type of error that occurred when performing an actual I/O operation.
Definition: IException.h:155
double m_minimumLongitude
Contains the minimum longitude for the entire ground range.
Definition: TProjection.h:358
double m_latitude
This contains the currently set latitude value.
Definition: TProjection.h:316
bool operator==(const Projection &proj)
Compares two Projection objects to see if they are equal.
Definition: Mollweide.cpp:83
bool SetCoordinate(const double x, const double y)
This method is used to set the projection x/y.
Definition: Mollweide.cpp:219
PvlGroup Mapping()
This function returns the keywords that this projection uses.
Definition: Mollweide.cpp:329
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 m_minimumY
See minimumX description.
Definition: Projection.h:327
double GetX() const
Calculates the unrotated form of current x value.
Definition: Projection.cpp:818
PvlGroup MappingLatitudes()
This function returns the latitude keywords that this projection uses.
Definition: Mollweide.cpp:343
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
bool newton_rapheson(double gamma, double &result)
The Newton-Rapheson method is used to find an iterative solution for:
Definition: Mollweide.cpp:131
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
Mollweide(Pvl &label, bool allowDefaults=false)
Constructs a Mollweide object.
Definition: Mollweide.cpp:44
@ Traverse
Search child objects.
Definition: PvlObject.h:158
QString Version() const
Returns the version of the map projection.
Definition: Mollweide.cpp:107
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
Base class for Map TProjections.
Definition: TProjection.h:166
QString Name() const
Returns the name of the map projection, "Mollweide".
Definition: Mollweide.cpp:98
PvlGroup MappingLongitudes()
This function returns the longitude keywords that this projection uses.
Definition: Mollweide.cpp:355
Isis exception class.
Definition: IException.h:91
Isis::TProjection * MollweidePlugin(Isis::Pvl &lab, bool allowDefaults)
This is the function that is called in order to instantiate a Mollweide object.
Definition: Mollweide.cpp:378
virtual PvlGroup MappingLongitudes()
This function returns the longitude keywords that this projection uses.
Definition: TProjection.cpp:1739
bool SetGround(const double lat, const double lon)
Set lat/lon and attempt to calculate x/y values.
Definition: Mollweide.cpp:176
void SetComputedXY(double x, double y)
This protected method is a helper for derived classes.
Definition: Projection.cpp:780
Namespace for the standard library.
~Mollweide()
Destroys the Mollweide object.
Definition: Mollweide.cpp:71
double m_maximumLongitude
Contains the maximum longitude for the entire ground range.
Definition: TProjection.h:360
virtual PvlGroup MappingLatitudes()
This function returns the latitude keywords that this projection uses.
Definition: TProjection.cpp:1723
virtual PvlGroup Mapping()
This function returns the keywords that this projection uses.
Definition: TProjection.cpp:1698
double m_equatorialRadius
Polar radius of the target.
Definition: TProjection.h:335
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
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
Mollweide Map Projection.
Definition: Mollweide.h:50