Isis 3 Programmer Reference
RingCylindrical.h
1#ifndef RingCylindrical_h
2#define RingCylindrical_h
8/* SPDX-License-Identifier: CC0-1.0 */
9#include "RingPlaneProjection.h"
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:
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.
double CenterRingRadius() const
Returns the center radius, in meters.
PvlGroup MappingRingRadii()
This function returns the radii keywords that this projection uses.
PvlGroup MappingRingLongitudes()
This function returns the longitude keywords that this projection uses.
double m_centerRingRadius
The center ring radius for the map projection.
bool SetCoordinate(const double x, const double y)
This method is used to set the projection x/y.
double TrueScaleRingRadius() const
Returns the center radius, in meters.
double CenterRingLongitude() const
Returns the center longitude, in degrees.
RingCylindrical(Pvl &label, bool allowDefaults=false)
Constructs a RingCylindrical object.
bool IsEquatorialCylindrical()
This method returns true if the projection is equatorial cylindrical.
~RingCylindrical()
Destroys the RingCylindrical object.
bool operator==(const Projection &proj)
Compares two Projection objects to see if they are equal.
QString Version() const
Returns the version of the map projection.
PvlGroup Mapping()
This function returns the keywords that this projection uses.
double m_centerRingLongitude
The center ring longitude (azimuth) for the map projection, in radians.
QString Name() const
Returns the name of the map projection, "RingCylindrical".
bool SetGround(const double ringRadius, const double ringLongitude)
This method is used to set the radius/longitude (assumed to be of the correct RingLongitudeDirection,...
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...
Base class for Map Projections of plane shapes.
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16