Isis 3 Programmer Reference
Equirectangular.h
1#ifndef Equirectangular_h
2#define Equirectangular_h
8/* SPDX-License-Identifier: CC0-1.0 */
9
10#include "TProjection.h"
11
12namespace Isis {
13 class Pvl;
71 public:
72 Equirectangular(Pvl &label, bool allowDefaults = false);
74 bool operator==(const Projection &proj);
75
76 QString Name() const;
77 QString Version() const;
78 double TrueScaleLatitude() const;
80
81 bool SetGround(const double lat, const double lon);
82 bool SetCoordinate(const double x, const double y);
83 bool XYRange(double &minX, double &maxX, double &minY, double &maxY);
84
85 virtual PvlGroup Mapping();
86 virtual PvlGroup MappingLatitudes();
88
89 private:
93 double m_clatRadius;
95 };
96};
97
98#endif
99
Equirectangular Map Projection.
virtual PvlGroup MappingLatitudes()
This function returns a PvlGroup containing the latitude keywords that this projection uses,...
virtual PvlGroup Mapping()
This function returns a PvlGroup containing the keywords that this projection uses,...
QString Version() const
Returns the version of the map projection.
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 IsEquatorialCylindrical()
Indicates whether the projection is Equitorial Cylindrical.
~Equirectangular()
Destroys the Equirectangular 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,...
double m_cosCenterLatitude
Cosine of the center latitude.
double m_clatRadius
The radius of the target planet at the center latitude.
double m_centerLongitude
The center longitude for the map projection.
virtual PvlGroup MappingLongitudes()
This function returns a PvlGroup containing the longitude keywords that this projection uses,...
bool SetCoordinate(const double x, const double y)
This method is used to set the projection x/y.
bool operator==(const Projection &proj)
Compares two Projection objects to see if they are equal.
double TrueScaleLatitude() const
Returns the latitude of true scale, in degrees.
QString Name() const
Returns the name of the map projection, "Equirectangular".
Equirectangular(Pvl &label, bool allowDefaults=false)
Constructs a Equirectangular object.
double m_centerLatitude
The center latitude 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