Isis Developer Reference
RingCylindrical.h
Go to the documentation of this file.
1#ifndef RingCylindrical_h
2#define RingCylindrical_h
8/* SPDX-License-Identifier: CC0-1.0 */
10
11namespace Isis {
12 class Pvl;
13 class PvlGroup;
36 // or Rectilinear projection?? scale azimuth with 1/(2*pi) * radius maybe
38 public:
39 RingCylindrical(Pvl &label, bool allowDefaults = false);
41 bool operator==(const Projection &proj);
42
43 QString Name() const;
44 QString Version() const;
46 double TrueScaleRingRadius() const;
47
48 double CenterRingLongitude() const;
49 double CenterRingRadius() const;
50
51 bool SetGround(const double ringRadius, const double ringLongitude);
52 bool SetCoordinate(const double x, const double y);
53 bool XYRange(double &minX, double &maxX, double &minY, double &maxY);
54
58
59 protected:
60
61 private:
62 double m_centerRingLongitude;
64 double m_centerRingRadius;
65 };
66};
67
68#endif
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
Ring Cylindrical Map Projection.
Definition RingCylindrical.h:37
double CenterRingRadius() const
Returns the center radius, in meters.
Definition RingCylindrical.cpp:170
PvlGroup MappingRingRadii()
This function returns the radii keywords that this projection uses.
Definition RingCylindrical.cpp:292
PvlGroup MappingRingLongitudes()
This function returns the longitude keywords that this projection uses.
Definition RingCylindrical.cpp:308
bool SetCoordinate(const double x, const double y)
This method is used to set the projection x/y.
Definition RingCylindrical.cpp:239
double TrueScaleRingRadius() const
Returns the center radius, in meters.
Definition RingCylindrical.cpp:148
double CenterRingLongitude() const
Returns the center longitude, in degrees.
Definition RingCylindrical.cpp:158
RingCylindrical(Pvl &label, bool allowDefaults=false)
Constructs a RingCylindrical object.
Definition RingCylindrical.cpp:39
bool IsEquatorialCylindrical()
This method returns true if the projection is equatorial cylindrical.
Definition RingCylindrical.cpp:130
~RingCylindrical()
Destroys the RingCylindrical object.
Definition RingCylindrical.cpp:80
bool operator==(const Projection &proj)
Compares two Projection objects to see if they are equal.
Definition RingCylindrical.cpp:91
QString Version() const
Returns the version of the map projection.
Definition RingCylindrical.cpp:115
PvlGroup Mapping()
This function returns the keywords that this projection uses.
Definition RingCylindrical.cpp:274
QString Name() const
Returns the name of the map projection, "RingCylindrical".
Definition RingCylindrical.cpp:106
bool SetGround(const double ringRadius, const double ringLongitude)
This method is used to set the radius/longitude (assumed to be of the correct RingLongitudeDirection,...
Definition RingCylindrical.cpp:188
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 RingCylindrical.cpp:355
Base class for Map Projections of plane shapes.
Definition RingPlaneProjection.h:147
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16