Isis 3 Developer Reference
Planar.h
Go to the documentation of this file.
1 #ifndef Planar_h
2 #define Planar_h
3 
25 #include "RingPlaneProjection.h"
26 
27 namespace Isis {
28  class Pvl;
29  class PvlGroup;
56  class Planar : public RingPlaneProjection {
57  public:
58  Planar(Pvl &label, bool allowDefaults = false);
59  ~Planar();
60  bool operator== (const Projection &proj);
61 
62  QString Name() const;
63  QString Version() const;
64  double TrueScaleRingRadius() const;
65 
66  double CenterRingLongitude() const;
67  double CenterRingRadius() const;
68 
69  bool SetGround(const double ringRadius, const double ringLongitude);
70  bool SetCoordinate(const double x, const double y);
71  bool XYRange(double &minX, double &maxX, double &minY, double &maxY);
72 
73  PvlGroup Mapping();
76 
77  protected:
78 
79  private:
80  double m_centerRingLongitude;
81  double m_centerRingRadius;
82  };
83 };
84 #endif
Planar Map Projection.
Definition: Planar.h:56
double TrueScaleRingRadius() const
Returns the center radius, in meters.
Definition: Planar.cpp:137
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: Planar.cpp:395
PvlGroup MappingRingRadii()
This function returns the radius keywords that this projection uses.
Definition: Planar.cpp:467
double CenterRingLongitude() const
Returns the center longitude, in degrees.
Definition: Planar.cpp:148
bool operator==(const Projection &proj)
Compares two Projection objects to see if they are equal.
Definition: Planar.cpp:105
QString Version() const
Returns the version of the map projection.
Definition: Planar.cpp:171
double CenterRingRadius() const
Returns the center radius, in meters.
Definition: Planar.cpp:160
Planar(Pvl &label, bool allowDefaults=false)
TODO: correct documentation in this file.
Definition: Planar.cpp:55
Base class for Map Projections.
Definition: Projection.h:171
Contains multiple PvlContainers.
Definition: PvlGroup.h:57
QString Name() const
Returns the name of the map projection, "Planar".
Definition: Planar.cpp:120
PvlGroup MappingRingLongitudes()
This function returns the azimuth keywords that this projection uses.
Definition: Planar.cpp:482
PvlGroup Mapping()
This function returns the keywords that this projection uses.
Definition: Planar.cpp:450
Container for cube-like labels.
Definition: Pvl.h:135
Base class for Map Projections of plane shapes.
Definition: RingPlaneProjection.h:163
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
~Planar()
Destroys the Planar object.
Definition: Planar.cpp:94
bool SetGround(const double ringRadius, const double ringLongitude)
This method is used to set the radius/azimuth (assumed to be of the correct RingLongitudeDirection, a nd RingLongitudeDomain.
Definition: Planar.cpp:188
bool SetCoordinate(const double x, const double y)
This method is used to set the projection x/y.
Definition: Planar.cpp:242