Isis 3 Programmer Reference
Isis::RingPlaneProjection Class Referenceabstract

Base class for Map Projections of plane shapes. More...

#include <RingPlaneProjection.h>

Inheritance diagram for Isis::RingPlaneProjection:
Inheritance graph
Collaboration diagram for Isis::RingPlaneProjection:
Collaboration graph

Public Types

enum  RingLongitudeDirection { Clockwise , CounterClockwise }
 This enum defines the types of ring longitude directions supported in this class. More...
 
enum  ProjectionType { Triaxial , RingPlane }
 This enum defines the subclasses of Projection supported in Isis. More...
 

Public Member Functions

 RingPlaneProjection (Pvl &label)
 Constructs an empty RingPlaneProjection object.
 
virtual ~RingPlaneProjection ()
 Destroys the Projection object.
 
virtual bool operator== (const Projection &proj)
 This method determines whether two map projection objects are equal by comparing the ring longitude direction, resolution, and projection name.
 
double LocalRadius () const
 This returns a local radius.
 
virtual QString Name () const =0
 This method returns the name of the map projection.
 
virtual QString Version () const =0
 This method returns the Version of the map projection.
 
virtual double TrueScaleRingRadius () const
 This method returns the radius of true scale.
 
bool IsClockwise () const
 This indicates if the longitude direction type is positive west (as opposed to postive east).
 
bool IsCounterClockwise () const
 This indicates if the longitude direction type is positive east (as opposed to postive west).
 
std::string RingLongitudeDirectionString () const
 This method returns the ring longitude direction as a string.
 
bool Has180Domain () const
 This indicates if the longitude domain is -180 to 180 (as opposed to 0 to 360).
 
bool Has360Domain () const
 This indicates if the ring longitude domain is 0 to 360 (as opposed to -180 to 180).
 
std::string RingLongitudeDomainString () const
 This method returns the ring longitude domain as a string.
 
double MinimumRingRadius () const
 This returns the minimum radius of the area of interest.
 
double MaximumRingRadius () const
 This returns the maximum radius of the area of interest.
 
double MinimumRingLongitude () const
 This returns the minimum ring longitude of the area of interest.
 
double MaximumRingLongitude () const
 This returns the maximum ring longitude of the area of interest.
 
virtual bool SetGround (const double ringRadius, const double ringLongitude)
 This method is used to set the ring radius/longitude (assumed to be of the correct LatitudeType, LongitudeDirection, and LongitudeDomain.
 
virtual bool SetCoordinate (const double x, const double y)
 This method is used to set the projection x/y.
 
double RingRadius () const
 This returns a radius.
 
double RingLongitude () const
 This returns a ring longitude with correct ring longitude direction and domain as specified in the label object.
 
bool SetUniversalGround (const double ringRadius, const double ringLongitude)
 This method is used to set the ring radius/longitude which must be PositiveEast/Domain360 (ring longitude).
 
double UniversalRingRadius ()
 This returns a universal radius, which is just the radius in meters.
 
double UniversalRingLongitude ()
 This returns a universal ring longitude (clockwise in 0 to 360 domain).
 
double Scale () const
 This method returns the scale for mapping world coordinates into projection coordinates.
 
virtual 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 by the ring radius/longitude range.
 
virtual PvlGroup Mapping ()
 This method is used to find the XY range for oblique aspect projections (non-polar projections) by "walking" around each of the min/max ring rad/lon.
 
virtual PvlGroup MappingRingRadii ()
 This function returns the ring radius keywords that this projection uses.
 
virtual PvlGroup MappingRingLongitudes ()
 This function returns the ring longitude keywords that this projection uses.
 
bool operator!= (const Projection &proj)
 This method determines whether two map projection objects are not equal.
 
void setProjectionType (const ProjectionType ptype)
 Sets the projection subclass type.
 
ProjectionType projectionType () const
 Returns an enum value for the projection type.
 
bool IsSky () const
 Returns true if projection is sky and false if it is land.
 
virtual bool IsEquatorialCylindrical ()
 This method returns true if the projection is equatorial cylindrical.
 
virtual bool HasGroundRange () const
 This indicates if the longitude direction type is positive west (as opposed to postive east).
 
double Rotation () const
 Returns the value of the Rotation keyword from the mapping group.
 
void SetWorldMapper (WorldMapper *mapper)
 If desired the programmer can use this method to set a world mapper to be used in the SetWorld, WorldX, and WorldY methods.
 
bool IsGood () const
 This indicates if the last invocation of SetGround, SetCoordinate, SetUniversalGround, or SetWorld was with successful or not.
 
double XCoord () const
 This returns the projection X provided SetGround, SetCoordinate, SetUniversalGround, or SetWorld returned with success.
 
double YCoord () const
 This returns the projection Y provided SetGround, SetCoordinate, SetUniversalGround, or SetWorld returned with success.
 
virtual bool SetUnboundUniversalGround (const double coord1, const double coord2)
 This method is used to set the lat/lon or radius/azimuth (i.e.
 
virtual bool SetWorld (const double x, const double y)
 This method is used to set a world coordinate.
 
virtual double WorldX () const
 This returns the world X coordinate provided SetGround, SetCoordinate, SetUniversalGround, or SetWorld returned with success.
 
virtual double WorldY () const
 This returns the world Y coordinate provided SetGround, SetCoordinate, SetUniversalGround, or SetWorld returned with success.
 
double ToWorldX (const double projectionX) const
 This method converts a projection x value to a world x value.
 
double ToWorldY (const double projectionY) const
 This method converts a projection y value to a world y value.
 
double ToProjectionX (const double worldX) const
 This method converts a world x value to a projection x value.
 
double ToProjectionY (const double worldY) const
 This method converts a world y value to a projection y value.
 
double Resolution () const
 This method returns the resolution for mapping world coordinates into projection coordinates.
 
void SetUpperLeftCorner (const Displacement &x, const Displacement &y)
 This method searches for extreme (min/max/discontinuity) coordinate values along the constBorder line between minBorder and maxBorder (that is, across latitudes/longitudes).
 

Static Public Member Functions

static double ToClockwise (const double ringLongitude, const int domain)
 This method converts an ring longitude into the clockwise direction.
 
static double ToCounterClockwise (const double ringLongitude, const int domain)
 This method converts an ring longitude into the counterclockwise direction.
 
static double To180Domain (const double lon)
 This method converts a ring longitude into the -180 to 180 domain.
 
static double To360Domain (const double lon)
 This method converts an ring longitude into the 0 to 360 domain.
 
static double ToHours (double angle)
 Converts the given angle (in degrees) to hours by using the ratio 15 degrees per hour.
 
static QString ToDMS (double angle)
 Converts the given angle (in degrees) to degrees, minutes, seconds.
 
static QString ToHMS (double angle)
 Converts the given angle (in degrees) to hours, minutes, seconds.
 

Protected Member Functions

void XYRangeCheck (const double ringRadius, const double ringLongitude)
 This convience function is established to assist in the development of the XYRange virtual method.
 
void SetXY (double x, double y)
 This protected method is a helper for derived classes.
 
void SetComputedXY (double x, double y)
 This protected method is a helper for derived classes.
 
double GetX () const
 Calculates the unrotated form of current x value.
 
double GetY () const
 Calculates the unrotated form of the current y value.
 
double PixelResolution () const
 Returns the pixel resolution value from the PVL mapping group in meters/pixel.
 

Protected Attributes

double m_ringRadius
 This contain a ring radius value in m.
 
double m_ringLongitude
 This contain a ring longitude value.
 
RingLongitudeDirection m_ringLongitudeDirection
 An enumerated type indicating the LongitudeDirection read from the labels.
 
int m_ringLongitudeDomain
 This integer is either 180 or 360 and is read from the labels.
 
double m_minimumRingRadius
 Contains the minimum ring radius for the entire ground range.
 
double m_maximumRingRadius
 Contains the maximum ring radius for the entire ground range.
 
double m_minimumRingLongitude
 Contains the minimum longitude for the entire ground range.
 
double m_maximumRingLongitude
 Contains the maximum longitude for the entire ground range.
 
WorldMapperm_mapper
 This points to a mapper passed into the SetWorldMapper method.
 
bool m_good
 Indicates if the contents of m_x, m_y, m_latitude, and m_longitude are valid.
 
bool m_sky
 Indicates whether projection is sky or land.
 
bool m_groundRangeGood
 Indicates if the ground range (min/max lat/lons) were read from the labels.
 
double m_minimumX
 The data elements m_minimumX, m_minimumY, m_maximumX, and m_maximumY are convience data elements when you write the XYRange virtual function.
 
double m_maximumX
 See minimumX description.
 
double m_minimumY
 See minimumX description.
 
double m_maximumY
 See minimumX description.
 
PvlGroup m_mappingGrp
 Mapping group that created this projection.
 

Private Attributes

ProjectionType m_projectionType
 
double m_rotation
 Rotation of map (usually zero)
 
double m_x
 This contains the rotated X coordinate for a specific projection at theposition indicated by m_latitude/m_longitude.
 
double m_y
 This contains the rotated Y coordinate for a specific projection at the position indicated by m_latitude/m_longitude.
 
double m_pixelResolution
 Pixel resolution value from the PVL mapping group, in meters/pixel.
 

Detailed Description

Base class for Map Projections of plane shapes.

This is a virtual base class for map projections of plane shape targets. It must be used to create specific map projection classes such as PlaneCylindrical, PlanePolar, etc. The foundation of this class is the ability to convert plane ground coordinates (ring radius and ring longitude) into projection coordinates (x and y) and vice versa. Options exist to allow conversion to and from programmer specified world coordinates. The world coordinates can be cube pixels, paper units in millimeters, or any other unit the program may need. Generally, you should never directly instantiate this class.

Here is an example of how to use RingPlaneProjection

Pvl lab;
lab.Read("projection.map");
static Isis::Projection * Create(Isis::Pvl &label, bool allowDefaults=false)
This method returns a pointer to a Projection object.
Base class for Map Projections.
Definition Projection.h:155
Container for cube-like labels.
Definition Pvl.h:119

If you would like to see Projection being used in implementation, see mappos.cpp

Author
2003-01-29 Jeff Anderson
History

2003-01-30 Jeff Anderson - Add the SetWorldMapper() method and removed setting the mapper from the constructor

2003-05-16 Stuart Sides - Modified schema from astrogeology... isis.astrogeology...

2003-05-30 Jeff Anderson - Updated unit test to fix error for optimization

2003-08-25 Jeff Anderson - Added LatitudeTypeString(), LongitudeDirectionString(), and LongitudeDomainString() methods

2003-09-26 Jeff Anderson - Added ToWorldX(), ToWorldY(), ToProjectionX(), ToProjectionY(), and Resolution() methods

2003-09-26 Jeff Anderson - Added virtual Name, operator==, and operator!= methods

2003-09-26 Jeff Anderson - Remove virtual from operator!=

2003-10-14 Jeff Anderson - Added Scale() and TrueScaleLatitude() methods

2003-11-04 Jeff Anderson - Replace the pure virtual methods for SetGround() and SetCoordinate() with virtual method which simply copy ring rad/lon to x/y and vice versa. This is essentially no projection.

2003-11-04 Jeff Anderson - Added LocalRadius() methods

2004-02-23 Jeff Anderson - Added Eccentricity(), tCompute(), mCompute(), e4Compute(), and phi2Compute() methods

2004-02-24 Jeff Anderson - Fixed bug in eccentricity computation

2005-02-11 Elizabeth Ribelin - Modified file to support Doxygen documentation

2005-02-25 Elizabeth Ribelin - Added 3 static conversion methods: ToHours(), ToDMS(), and ToHMS()

2005-03-08 Elizabeth Ribelin - Fixed unitTest

2005-06-24 Jeff Anderson - Tweaked format for DMS and HMS methods

2005-07-22 Jeff Anderson - Added static ToPlanetographic() method

2006-04-20 Tracie Sucharski - Fixed bug looking at Target instead of TargetName for sky.

2006-06-20 Stuart Sides - Added ability to lookup the radii if given a "TargetName" in the mapping group.

2006-07-10 Elizabeth Miller - Fixed bugs in new static method

2007-06-27 Steven Lambright - Added static ToPlanetocentric(), ToPositiveWest() and ToPositiveEast() methods. Changed To180Domain() and To360Domain() to be static instead of const. Added Mapping(), MappingLatitudes() and MappingLongitudes() methods for map2map.

2007-08-14 Steven Lambright - Mapping() fixed: should not return cube specific parameters, because they did not go into making the projection.

2008-05-09 Steven Lambright - Added Name(), Version(), IsEquatorialCylindrical() methods

2008-06-12 Christopher Austin - Elaborated error messages.

2008-06-19 Steven Lambright - Fixed memory leak

2009-01-29 Stacy Alley - added a overloaded STATIC method for convenience. TargetRadii, which takes a Pvl, the cube label, and a PvlGroup, a mapping group.

2011-02-10 Jai Rideout - added SetUpperLeftCorner() because ProjectionFactory needed a way to set UpperLeftCornerX and UpperLeftCornerY keywords after creating the projection. Mapping() now adds optional keywords UpperLeftCornerX, UpperLeftCornerY, PixelResolution, and Scale to original mapping group so that cam2map can properly display a clean mapping group.

2011-07-05 Jeannie Backer - Added qCompute() method. Updated documentation.

2011-08-11 Steven Lambright - phi2Compute was running out of iterations for vesta (an asteroid). Fixes #279

2012-03-01 Jeff Anderson - Fixed bug in SetUpperLeftCorner by adding Pvl::Replace when updating the mapping labels

2012-03-30 Steven Lambright and Stuart Sides - To360Domain() and To180Domain() are now constant time operations. Fixes #656.

2012-06-15 Jeannie Backer - Added documentation. Added forward declarations to header file. Ordered includes in implementation file. Moved destructor and accessor methods to the implementation file. Moved the following methods from the ObliqueCylindrical class for generalized xyRangeOblique() method - doSearch(), findExtreme(), setSearchGround(). Changed member variable prefix to m_. Improved unitTest. Resolves #928.

2012-07-25 Jeannie Backer - Modified the new methods related to xyRangeOblique() to verify the validity of the values when setSearchGround() is called. References #954.

2012-08-01 Kimberly Oyama - Added a qFuzzyCompare() to ToPlanetographic() to account for rounding error at the latitude boundaries (-90 and 90 degrees). Updated the unit test to exercise this change. References #604.

2012-08-09 Steven Lambright - Added NaifStatus calls to protect the TargetRadii() method from naif throwing an error/crashing with inputs that have non-target naif codes.

2012-11-23 Debbie A. Cook - New RingPlaneProjection child/base class

Todo
Continue to modify Projection class to comply with coding standards. Some of these include, but may not be limited to remove "Get" from methods GetX and GetY, change methods to lower camel case, add methods for RelativeScaleFactorLatitude and RelativeScaleFactorLongitude (see LambertAzimuthalEqualArea.cpp).

Definition at line 147 of file RingPlaneProjection.h.

Member Enumeration Documentation

◆ ProjectionType

This enum defines the subclasses of Projection supported in Isis.

Enumerator
Triaxial 

These projections are used to map triaxial and irregular-shaped bodies.

RingPlane 

These projections are used to map ring planes.

Definition at line 166 of file Projection.h.

◆ RingLongitudeDirection

This enum defines the types of ring longitude directions supported in this class.

Enumerator
Clockwise 

Ring longitude values increase in the clockwise direction.

CounterClockwise 

Ring longitude values increase in the counterclockwise direction.

Definition at line 178 of file RingPlaneProjection.h.

Constructor & Destructor Documentation

◆ RingPlaneProjection()

Isis::RingPlaneProjection::RingPlaneProjection ( Pvl & label)

Constructs an empty RingPlaneProjection object.

Parameters
labelA PVL object containing map projection labels. These labels are fully described in the Isis Map Projection Users Guide. A brief example follows:
Group = Mapping
RingLongitudeDirection = PositiveEast
RingLongitudeDomain = 360
MinimumRingRadius = 10.8920539924144
MaximumRingRadius = 34.7603960060206
MinimumRingLongitude = 219.72432466275
MaximumRingLongitude = 236.186050244411
PixelResolution = 1387.31209461362
ProjectionName = Planar
CenterRingLongitude = 220.0
EndGroup
End
Planar Map Projection.
Definition Planar.h:40
double PixelResolution() const
Returns the pixel resolution value from the PVL mapping group in meters/pixel.
double MaximumRingLongitude() const
This returns the maximum ring longitude of the area of interest.
virtual PvlGroup Mapping()
This method is used to find the XY range for oblique aspect projections (non-polar projections) by "w...
double MaximumRingRadius() const
This returns the maximum radius of the area of interest.
RingLongitudeDirection
This enum defines the types of ring longitude directions supported in this class.
double MinimumRingLongitude() const
This returns the minimum ring longitude of the area of interest.
double MinimumRingRadius() const
This returns the minimum radius of the area of interest.
Exceptions
IException::Unknown- "Projection failed. Invalid value for keyword [RingLongitudeDirection] must be [Clockwise or CounterClockwise]"
IException::Unknown- "Projection failed. Invalid value for keyword [RingLongitudeDomain] must be [180 or 360]"
IException::Unknown- "Projection failed. [MinimumRingRadius] is not valid"
IException::Unknown- "Projection failed. [MaximumRingRadius] is not valid"
IException::Unknown- "Projection failed. [MinimumRingRadius,MaximumRingRadius] are not properly ordered"
IException::Unknown- "Projection failed. [MinimumRingLongitude,MaximumRingLongitude] are not properly ordered"
IException::Unknown- "Projection failed. Invalid label group [Mapping]"

Definition at line 69 of file RingPlaneProjection.cpp.

References Clockwise, CounterClockwise, Isis::PvlContainer::hasKeyword(), Isis::Projection::m_groundRangeGood, Isis::Projection::m_mappingGrp, m_maximumRingLongitude, m_maximumRingRadius, m_minimumRingLongitude, m_minimumRingRadius, m_ringLongitude, m_ringLongitudeDirection, m_ringLongitudeDomain, m_ringRadius, Isis::Null, Isis::Projection::RingPlane, Isis::Projection::setProjectionType(), and Isis::IException::Unknown.

◆ ~RingPlaneProjection()

Isis::RingPlaneProjection::~RingPlaneProjection ( )
virtual

Destroys the Projection object.

Definition at line 169 of file RingPlaneProjection.cpp.

Member Function Documentation

◆ GetX()

◆ GetY()

◆ Has180Domain()

bool Isis::RingPlaneProjection::Has180Domain ( ) const

This indicates if the longitude domain is -180 to 180 (as opposed to 0 to 360).

The ring longitude domain was obtained from the label during object construction.

Returns
bool

Definition at line 326 of file RingPlaneProjection.cpp.

References m_ringLongitudeDomain.

Referenced by operator==().

◆ Has360Domain()

bool Isis::RingPlaneProjection::Has360Domain ( ) const

This indicates if the ring longitude domain is 0 to 360 (as opposed to -180 to 180).

The ring longitude domain was obtained from the label during object construction.

Returns
bool

Definition at line 337 of file RingPlaneProjection.cpp.

References m_ringLongitudeDomain.

◆ HasGroundRange()

bool Isis::Projection::HasGroundRange ( ) const
virtualinherited

This indicates if the longitude direction type is positive west (as opposed to postive east).

The longitude type was obtained from the label during object construction.

Returns
bool This indicates if the longitude direction type is positive east (as opposed to postive west). The longitude type was obtained from the label during object construction.
bool This method returns the longitude direction as a string. It will return either PositiveEast or PositiveWest.
string The longitude direction, "PositiveEast" or "PositiveWest". This indicates if the longitude domain is -180 to 180 (as opposed to 0 to 360). The longitude domain was obtained from the label during object construction.
bool This indicates if the longitude domain is 0 to 360 (as opposed to -180 to 180). The longitude domain was obtained from the label during object construction.
bool This method converts a longitude into the -180 to 180 domain. It will leave the longitude unchanged if it is already in the domain.
Parameters
lonLongitude to convert into the -180 to 180 domain.
Exceptions
IException::Unknown- "The given longitude is invalid."
Returns
double The longitude, converted to 180 domain. This method converts a longitude into the 0 to 360 domain. It will leave the longitude unchanged if it is already in the domain.
Parameters
lonLongitude to convert into the 0 to 360 domain.
Returns
double The longitude, converted to 360 domain. This method returns the longitude domain as a string. It will return either 180 or 360.
string The longitude domain, "180" or "360". This indicates that the labels contained minimum and maximum ground coordinatess (e.g., a ground range coverage). If the projection has ground range coverage then the MinimumLatitude, MaximumLatitude, MinimumLongitude, and MaximumLongitude methods or comparable methods for other projection types can be used. The ground range coverage essentially defines the area of user interest.
bool

Definition at line 349 of file Projection.cpp.

References Isis::Projection::m_groundRangeGood.

Referenced by Mapping(), Isis::TProjection::MappingLatitudes(), Isis::TProjection::MappingLongitudes(), Isis::Planar::MappingRingLongitudes(), Isis::RingCylindrical::MappingRingLongitudes(), MappingRingLongitudes(), Isis::Planar::MappingRingRadii(), Isis::RingCylindrical::MappingRingRadii(), MappingRingRadii(), and Isis::TProjection::xyRangeOblique().

◆ IsClockwise()

bool Isis::RingPlaneProjection::IsClockwise ( ) const

This indicates if the longitude direction type is positive west (as opposed to postive east).

The longitude type was obtained from the label during object construction.

Returns
bool

Definition at line 211 of file RingPlaneProjection.cpp.

References Clockwise, and m_ringLongitudeDirection.

Referenced by operator==().

◆ IsCounterClockwise()

bool Isis::RingPlaneProjection::IsCounterClockwise ( ) const

This indicates if the longitude direction type is positive east (as opposed to postive west).

The longitude type was obtained from the label during object construction.

Returns
bool

Definition at line 222 of file RingPlaneProjection.cpp.

References CounterClockwise, and m_ringLongitudeDirection.

◆ IsEquatorialCylindrical()

bool Isis::Projection::IsEquatorialCylindrical ( )
virtualinherited

This method returns true if the projection is equatorial cylindrical.

In other words, if the projection is cylindrical and an image projected at 0 is the same as an image projected at 360.

Returns
bool true if the projection is equatorial cylindrical

Reimplemented in Isis::Equirectangular, Isis::Mercator, Isis::RingCylindrical, Isis::SimpleCylindrical, and Isis::TProjection.

Definition at line 222 of file Projection.cpp.

Referenced by Isis::ShapeModelFactory::create().

◆ IsGood()

bool Isis::Projection::IsGood ( ) const
inherited

This indicates if the last invocation of SetGround, SetCoordinate, SetUniversalGround, or SetWorld was with successful or not.

If there was success then the Latitude, Longitude, XCoord, YCoord, UniversalLatitude, UniversalLongitude, WorldX, and WorldY methods can be utilized.

Returns
bool True if the last call to SetGround, SetCoordinate, SetUniversalGround, or SetWorld was successful.

Definition at line 374 of file Projection.cpp.

References Isis::Projection::m_good.

Referenced by Isis::TProjection::XYRangeCheck(), and XYRangeCheck().

◆ IsSky()

bool Isis::Projection::IsSky ( ) const
inherited

Returns true if projection is sky and false if it is land.

Returns
bool

Definition at line 208 of file Projection.cpp.

References Isis::Projection::m_sky.

Referenced by Isis::Camera::RawFocalPlanetoImage(), Isis::Camera::SetImage(), Isis::Camera::SetImage(), and Isis::Camera::SetRightAscensionDeclination().

◆ LocalRadius()

double Isis::RingPlaneProjection::LocalRadius ( ) const
virtual

This returns a local radius.

The method can only be used if SetGround, SetCoordinate, SetUniversalGround, or SetWorld return with success. Success can also be checked using the IsGood method.

Returns
double

Implements Isis::Projection.

Definition at line 518 of file RingPlaneProjection.cpp.

References m_ringRadius.

◆ Mapping()

PvlGroup Isis::RingPlaneProjection::Mapping ( )
virtual

This method is used to find the XY range for oblique aspect projections (non-polar projections) by "walking" around each of the min/max ring rad/lon.

Parameters
minXMinimum x projection coordinate which covers the ring radius/longitude range specified in the labels.
maxXMaximum x projection coordinate which covers the ring radius/longitude range specified in the labels.
minYMinimum y projection coordinate which covers the ring radius/longitude range specified in the labels.
maxYMaximum y projection coordinate which covers the ring radius/longitude range specified in the labels.
Returns
bool Indicates whether the method was successful.
See also
XYRange()
Author
Stephen Lambright
History
2011-07-02 Jeannie Backer - Moved this code from ObliqueCylindrical class to its own method here.

This method searches for extreme (min/max/discontinuity) coordinate values along the constBorder line between minBorder and maxBorder (that is, across ring radii/longitudes). This method locates the extrema by utilizing the findExtreme() method until the coordinate values converge. Then, extremeVal parameter is updated with this value before returning.

Discontinuities are stored in m_specialLatCases and m_specialLonCases so they may be checked again later, which creates significantly more accuracy in some cases.

Parameters
minBorderMinimum latitude or longitude to search between.
maxBorderMaximum latitude or longitude to search between.
extremeValThe resulting global coordinate value (min or max value for x or y, depending on findMin and searchX) on the constBorder.
constBorderThe latitude or longitude that remains constant. The method will step along this border.
searchXIndicates whether the method is searching for a min or max x-coordinate. If false the method searches for min or max y-coordinate.
searchLongitudeIndicates whether the method will search along a longitude. If true, constBorder is longitude and all other borders are latitudes. If false, the method searches a latitude (constBorder is a lat, other borders lons).
findMinIndicates whether the method is looking for a minimum coordinate value. If false, the method is looking for a maximum value.
Author
Steven Lambright
History
2011-07-02 Jeannie Backer - Moved this code from ObliqueCylindrical class to its own method here. Added condition to do-while loop for more precision. Replaced hard-coded TOLERANCE with 1/2 pixel resolution. (Defaults to 0.5)

Searches for extreme (min/max/discontinuity) coordinate values across latitudes/longitudes.

This method looks for these extrema along the constBorder between minBorder and maxBorder by stepping along constBorder (10 times) from the minBorder and maxBorder. Then, the range of this extreme value is recorded in minBorder and maxBorder and the coordinate values corresponding to these new borders are stored in minBorderX, minBorderY, maxBorderX and maxBorderY.

This function should be used by calling it repeatedly until minBorderX and minBorderY do not equal maxBorderX and maxBorderY, respectively. Discontinuities will cause the minBorderX, minBorderY, maxBorderX and maxBorderY to never converge. If minBorderX never comes close to maxBorderX or minBorderY never comes close to maxBorderY, then between minBorder and maxBorder is the value of the most extreme value. In this case, either the smaller or larger of the x or y values found will be correct, depending on the values of findMin and searchX.

Parameters
minBorderMinimum latitude or longitude to search between. This value gets updated to a more precise range.
maxBorderMaximum latitude or longitude to search between. This value gets updated to a more precise range.
minBorderXThe x-value corresponding to the lower resultant minBorder and the constBorder, which is more accurate when nearly equal to maxBorderX.
minBorderYThe y-value corresponding to the lower resultant minBorder and the constBorder, which is more accurate when nearly equal to maxBorderY.
maxBorderXThe x-value corresponding to the higher resultant maxBorder and the constBorder, which is more accurate when nearly equal to minBorderX.
maxBorderYThe y-value corresponding to the higher resultant maxBorder and the constBorder, which is more accurate when nearly equal to minBorderY.
constBorderThe latitude or longitude that remains constant. The method will step along this border.
searchXIndicates whether the method is searching for a min or max x-coordinate. If false the method searches for min or max y-coordinate.
searchLongitudeIndicates whether the method will search along a longitude. If true, constBorder is longitude and all other borders are latitudes. If false, the method searches a latitude (constBorder is a lat, other borders lons).
findMinIndicates whether the method is looking for a minimum coordinate value. If false, the method is looking for a maximum value.
Author
Stephen Lambright
History
2011-07-02 Jeannie Backer - Moved this code from ObliqueCylindrical class to its own method here. Replaced parameters minVal and maxVal with minBorderX, minBorderY, maxBorderX, and maxBorderY.

This function sets the ground for the given border values. It calls the SetGround(lat, lon) method with the appropriate lat/lon values, depending on whether variableIsLat is true.

This method is used by doSearch and findExtreme in order to set the ground correctly each time.

Parameters
variableBorderThe latitude or longitude that is variable in the search methods.
constBorderThe latitude or longitude that is constant in the search methods.
variableIsLatIndicates whether variableBorder is the latittude value and constBorder is the longitude value. If false, variableBorder is the longitude value and constBorder is the latitude value.
Author
Stephen Lambright
History
2011-07-02 Jeannie Backer - Moved this code from ObliqueCylindrical class to its own method here. Added error.

This function returns the keywords that this projection uses.

Returns
PvlGroup The keywords that this projection uses

Implements Isis::Projection.

Reimplemented in Isis::Planar, and Isis::RingCylindrical.

Definition at line 1253 of file RingPlaneProjection.cpp.

References Isis::Projection::HasGroundRange(), Isis::PvlContainer::hasKeyword(), and Isis::Projection::m_mappingGrp.

Referenced by Isis::Planar::Mapping(), and Isis::RingCylindrical::Mapping().

◆ MappingRingLongitudes()

PvlGroup Isis::RingPlaneProjection::MappingRingLongitudes ( )
virtual

This function returns the ring longitude keywords that this projection uses.

Returns
PvlGroup The ring longitude keywords that this projection uses

Reimplemented in Isis::Planar, and Isis::RingCylindrical.

Definition at line 1313 of file RingPlaneProjection.cpp.

References Isis::Projection::HasGroundRange(), and Isis::Projection::m_mappingGrp.

Referenced by Isis::Planar::MappingRingLongitudes(), and Isis::RingCylindrical::MappingRingLongitudes().

◆ MappingRingRadii()

PvlGroup Isis::RingPlaneProjection::MappingRingRadii ( )
virtual

This function returns the ring radius keywords that this projection uses.

Returns
PvlGroup The ring radius keywords that this projection uses

Reimplemented in Isis::Planar, and Isis::RingCylindrical.

Definition at line 1296 of file RingPlaneProjection.cpp.

References Isis::Projection::HasGroundRange(), and Isis::Projection::m_mappingGrp.

Referenced by Isis::Planar::MappingRingRadii(), and Isis::RingCylindrical::MappingRingRadii().

◆ MaximumRingLongitude()

double Isis::RingPlaneProjection::MaximumRingLongitude ( ) const

This returns the maximum ring longitude of the area of interest.

The value was obtained from the labels during object construction. This method can only be used if HasGroundRange returns a true.

Returns
double

Definition at line 438 of file RingPlaneProjection.cpp.

References m_maximumRingLongitude.

◆ MaximumRingRadius()

double Isis::RingPlaneProjection::MaximumRingRadius ( ) const

This returns the maximum radius of the area of interest.

The value was obtained from the labels during object construction. This method can only be used if HasGroundRange returns a true.

Returns
double

Definition at line 416 of file RingPlaneProjection.cpp.

References m_maximumRingRadius.

◆ MinimumRingLongitude()

double Isis::RingPlaneProjection::MinimumRingLongitude ( ) const

This returns the minimum ring longitude of the area of interest.

The value was obtained from the labels during object construction. This method can only be used if HasGroundRange returns a true.

Returns
double

Definition at line 427 of file RingPlaneProjection.cpp.

References m_minimumRingLongitude.

◆ MinimumRingRadius()

double Isis::RingPlaneProjection::MinimumRingRadius ( ) const

This returns the minimum radius of the area of interest.

The value was obtained from the labels during object construction. This method can only be used if HasGroundRange returns a true.

Returns
double

Definition at line 405 of file RingPlaneProjection.cpp.

References m_minimumRingRadius.

◆ Name()

virtual QString Isis::RingPlaneProjection::Name ( ) const
pure virtual

This method returns the name of the map projection.

It is a pure virtual method (requires all subclasses to override).

Returns
string The name of the map projection.

Implements Isis::Projection.

Implemented in Isis::Planar, and Isis::RingCylindrical.

◆ operator!=()

bool Isis::Projection::operator!= ( const Projection & proj)
inherited

This method determines whether two map projection objects are not equal.

True is returned if they have at least some differences in the radii, latitude type, longitude direction, resolution, or projection name.

Parameters
projA reference to a Projection object to which this Projection will be compared.
Returns
bool Indicates whether the Projection objects are not equivalent.

Definition at line 178 of file Projection.cpp.

◆ operator==()

bool Isis::RingPlaneProjection::operator== ( const Projection & proj)
virtual

This method determines whether two map projection objects are equal by comparing the ring longitude direction, resolution, and projection name.

Parameters
projA reference to a Projection object to which this Projection will be compared.
Returns
bool Indicates whether the Projection objects are equivalent.

Reimplemented from Isis::Projection.

Reimplemented in Isis::Planar, and Isis::RingCylindrical.

Definition at line 181 of file RingPlaneProjection.cpp.

References Has180Domain(), and IsClockwise().

◆ PixelResolution()

double Isis::Projection::PixelResolution ( ) const
protectedinherited

Returns the pixel resolution value from the PVL mapping group in meters/pixel.

Returns
double pixel resolution in meters/pixel

Definition at line 840 of file Projection.cpp.

References Isis::Projection::m_pixelResolution.

Referenced by Isis::TProjection::doSearch(), Isis::Planar::XYRange(), and Isis::RingCylindrical::XYRange().

◆ projectionType()

◆ Resolution()

double Isis::Projection::Resolution ( ) const
inherited

This method returns the resolution for mapping world coordinates into projection coordinates.

For example, if the world coordinate system is an image then this routine returns the number of meters per pixel. Likewise, if the world coordinate system is a piece of paper, it might return the number of meters per inch of paper. If the SetWorldMapper method is not invoked then this method returns 1.0

Returns
double The resolution, in appropriate units.

Definition at line 675 of file Projection.cpp.

References Isis::Projection::m_mapper, and Isis::WorldMapper::Resolution().

Referenced by Isis::Projection::operator==(), and Isis::UniversalGroundMap::Resolution().

◆ RingLongitude()

double Isis::RingPlaneProjection::RingLongitude ( ) const

This returns a ring longitude with correct ring longitude direction and domain as specified in the label object.

The method can only be used if SetGround, SetCoordinate, SetUniversalGround, or SetWorld return with success. Success can also be checked using the IsGood method.

Returns
double

Definition at line 530 of file RingPlaneProjection.cpp.

References m_ringLongitude.

◆ RingLongitudeDirectionString()

string Isis::RingPlaneProjection::RingLongitudeDirectionString ( ) const

This method returns the ring longitude direction as a string.

It will return either Clockwise or CounterClockwise.

Returns
string The ring longitude direction, "Clockwise" or "CounterClockwise".

Definition at line 314 of file RingPlaneProjection.cpp.

References Clockwise, and m_ringLongitudeDirection.

◆ RingLongitudeDomainString()

string Isis::RingPlaneProjection::RingLongitudeDomainString ( ) const

This method returns the ring longitude domain as a string.

It will return either 180 or 360.

Returns
string The ring longitude domain, "180" or "360".

Definition at line 393 of file RingPlaneProjection.cpp.

References m_ringLongitudeDomain.

◆ RingRadius()

double Isis::RingPlaneProjection::RingRadius ( ) const

This returns a radius.

The method can only be used if SetGround, SetCoordinate, SetUniversalGround, or SetWorld return with success. Success can also be checked using the IsGood method.

Returns
double

Definition at line 506 of file RingPlaneProjection.cpp.

References m_ringRadius.

Referenced by Isis::TrackTool::updateLabels().

◆ Rotation()

double Isis::Projection::Rotation ( ) const
inherited

Returns the value of the Rotation keyword from the mapping group.

Returns
double The rotation of the map.

Definition at line 359 of file Projection.cpp.

References Isis::Projection::m_rotation.

◆ Scale()

double Isis::RingPlaneProjection::Scale ( ) const
virtual

This method returns the scale for mapping world coordinates into projection coordinates.

For example, if the world coordinate system is an image then this routine returns the number of pixels per degree. Likewise, if the world coordinate system is a piece of paper, it might return the number of inches of paper per degree. If the SetWorldMapper method is not invoked then this method returns 1.0

Returns
double The scale for mapping.

Implements Isis::Projection.

Definition at line 607 of file RingPlaneProjection.cpp.

References Isis::DEG2RAD, Isis::Projection::m_mapper, Isis::WorldMapper::Resolution(), and TrueScaleRingRadius().

◆ SetComputedXY()

void Isis::Projection::SetComputedXY ( double x,
double y )
protectedinherited

◆ SetCoordinate()

bool Isis::RingPlaneProjection::SetCoordinate ( const double x,
const double y )
virtual

This method is used to set the projection x/y.

The Set forces an attempted calculation of the corresponding ring radius/longitude position. This may or may not be successful and a status is returned as such. Usually this method is overridden in a dervied class, for example, Sinusoidal. If not the default method simply copies x/y to ring rad/lon to x/y which is no projection.

Parameters
xX coordinate of the projection in units that are the same as the radii in the label
yY coordinate of the projection in units that are the same as the ring longitude in the label
Returns
bool Indicates whether the method was successful.

Implements Isis::Projection.

Reimplemented in Isis::Planar, and Isis::RingCylindrical.

Definition at line 485 of file RingPlaneProjection.cpp.

References Isis::Projection::m_good, m_ringLongitude, m_ringRadius, Isis::Null, Isis::Projection::SetXY(), Isis::Projection::XCoord(), and Isis::Projection::YCoord().

◆ SetGround()

bool Isis::RingPlaneProjection::SetGround ( const double ringRadius,
const double ringLongitude )
virtual

This method is used to set the ring radius/longitude (assumed to be of the correct LatitudeType, LongitudeDirection, and LongitudeDomain.

The Set forces an attempted calculation of the projection X/Y values. This may or may not be successful and a status is returned as such. Usually this method is overridden in a dervied class, for example, Sinusoidal. If not the default method simply copies ring rad/lon to x/y which is no projection.

Parameters
ringRadiusThe ring radius value to project
ringLongitudeThe ring longitude value to project
Returns
bool Indicates whether the method was successful.

Implements Isis::Projection.

Reimplemented in Isis::Planar, and Isis::RingCylindrical.

Definition at line 456 of file RingPlaneProjection.cpp.

References Isis::Projection::m_good, m_ringLongitude, m_ringRadius, Isis::Null, and Isis::Projection::SetComputedXY().

Referenced by SetUniversalGround(), and XYRangeCheck().

◆ setProjectionType()

void Isis::Projection::setProjectionType ( const ProjectionType ptype)
inherited

Sets the projection subclass type.

Parameters
ptypeThe projection subclass type

Definition at line 188 of file Projection.cpp.

Referenced by RingPlaneProjection(), and Isis::TProjection::TProjection().

◆ SetUnboundUniversalGround()

bool Isis::Projection::SetUnboundUniversalGround ( const double coord1,
const double coord2 )
virtualinherited

This method is used to set the lat/lon or radius/azimuth (i.e.

ring longitude) coordinate, depending on the projection type. The Set forces an attempted calculation of the projection X/Y values. This may or may not be successful and a status is returned as such. This method will not adjust the longitude coordinate based on the longitude domain.

Parameters
coord1Latitude (planetocentric) or ring radius to project
coord2Longitude or ring longitude to project. The value passed in should be PositiveEast, Domain360.
Returns
bool Indicates whether the method was successful.

Reimplemented in Isis::TProjection.

Definition at line 446 of file Projection.cpp.

References Isis::Projection::m_good, Isis::Null, Isis::Projection::projectionType(), Isis::TProjection::SetUnboundUniversalGround(), SetUniversalGround(), and Isis::Projection::Triaxial.

Referenced by Isis::UniversalGroundMap::SetUnboundGround().

◆ SetUniversalGround()

bool Isis::RingPlaneProjection::SetUniversalGround ( const double ringRadius,
const double ringLongitude )
virtual

This method is used to set the ring radius/longitude which must be PositiveEast/Domain360 (ring longitude).

The Set forces an attempted calculation of the projection X/Y values. This may or may not be successful and a status is returned as such.

Parameters
ringRadiusThe ring radius value to project
ringLongitudePositiveEast, Domain360 ring longitude value to project
Returns
bool Indicates whether the method was successful.

Reimplemented from Isis::Projection.

Definition at line 546 of file RingPlaneProjection.cpp.

References Clockwise, Isis::Projection::m_good, m_ringLongitude, m_ringLongitudeDirection, m_ringLongitudeDomain, m_ringRadius, Isis::Null, SetGround(), To180Domain(), and To360Domain().

Referenced by Isis::Projection::SetUnboundUniversalGround(), and Isis::Projection::SetUniversalGround().

◆ SetUpperLeftCorner()

void Isis::Projection::SetUpperLeftCorner ( const Displacement & x,
const Displacement & y )
inherited

This method searches for extreme (min/max/discontinuity) coordinate values along the constBorder line between minBorder and maxBorder (that is, across latitudes/longitudes).

This method locates the extrema by utilizing the findExtreme() method until the coordinate values converge. Then, extremeVal parameter is updated with this value before returning.

Discontinuities are stored in m_specialLatCases and m_specialLonCases so they may be checked again later, which creates significantly more accuracy in some cases.

Parameters
minBorderMinimum latitude or longitude to search between.
maxBorderMaximum latitude or longitude to search between.
extremeValThe resulting global coordinate value (min or max value for x or y, depending on findMin and searchX) on the constBorder.
constBorderThe latitude or longitude that remains constant. The method will step along this border.
searchXIndicates whether the method is searching for a min or max x-coordinate. If false the method searches for min or max y-coordinate.
searchLongitudeIndicates whether the method will search along a longitude. If true, constBorder is longitude and all other borders are latitudes. If false, the method searches a latitude (constBorder is a lat, other borders lons).
findMinIndicates whether the method is looking for a minimum coordinate value. If false, the method is looking for a maximum value.
Author
Steven Lambright
History
2011-07-02 Jeannie Backer - Moved this code from ObliqueCylindrical class to its own method here. Added condition to do-while loop for more precision. Replaced hard-coded TOLERANCE with 1/2 pixel resolution. (Defaults to 0.5)

Searches for extreme (min/max/discontinuity) coordinate values across latitudes/longitudes.

This method looks for these extrema along the constBorder between minBorder and maxBorder by stepping along constBorder (10 times) from the minBorder and maxBorder. Then, the range of this extreme value is recorded in minBorder and maxBorder and the coordinate values corresponding to these new borders are stored in minBorderX, minBorderY, maxBorderX and maxBorderY.

This function should be used by calling it repeatedly until minBorderX and minBorderY do not equal maxBorderX and maxBorderY, respectively. Discontinuities will cause the minBorderX, minBorderY, maxBorderX and maxBorderY to never converge. If minBorderX never comes close to maxBorderX or minBorderY never comes close to maxBorderY, then between minBorder and maxBorder is the value of the most extreme value. In this case, either the smaller or larger of the x or y values found will be correct, depending on the values of findMin and searchX.

Parameters
minBorderMinimum latitude or longitude to search between. This value gets updated to a more precise range.
maxBorderMaximum latitude or longitude to search between. This value gets updated to a more precise range.
minBorderXThe x-value corresponding to the lower resultant minBorder and the constBorder, which is more accurate when nearly equal to maxBorderX.
minBorderYThe y-value corresponding to the lower resultant minBorder and the constBorder, which is more accurate when nearly equal to maxBorderY.
maxBorderXThe x-value corresponding to the higher resultant maxBorder and the constBorder, which is more accurate when nearly equal to minBorderX.
maxBorderYThe y-value corresponding to the higher resultant maxBorder and the constBorder, which is more accurate when nearly equal to minBorderY.
constBorderThe latitude or longitude that remains constant. The method will step along this border.
searchXIndicates whether the method is searching for a min or max x-coordinate. If false the method searches for min or max y-coordinate.
searchLongitudeIndicates whether the method will search along a longitude. If true, constBorder is longitude and all other borders are latitudes. If false, the method searches a latitude (constBorder is a lat, other borders lons).
findMinIndicates whether the method is looking for a minimum coordinate value. If false, the method is looking for a maximum value.
Author
Stephen Lambright
History
2011-07-02 Jeannie Backer - Moved this code from ObliqueCylindrical class to its own method here. Replaced parameters minVal and maxVal with minBorderX, minBorderY, maxBorderX, and maxBorderY.

This function sets the ground for the given border values. It calls the SetGround(lat, lon) method with the appropriate lat/lon values, depending on whether variableIsLat is true.

This method is used by doSearch and findExtreme in order to set the ground correctly each time.

Parameters
variableBorderThe latitude or longitude that is variable in the search methods.
constBorderThe latitude or longitude that is constant in the search methods.
variableIsLatIndicates whether variableBorder is the latittude value and constBorder is the longitude value. If false, variableBorder is the longitude value and constBorder is the latitude value.
Author
Stephen Lambright
History
2011-07-02 Jeannie Backer - Moved this code from ObliqueCylindrical class to its own method here. Added error.

This method sets the UpperLeftCornerX and UpperLeftCornerY keywords in the projection mapping group, in meters.

Parameters
xthe upper left corner x value
ythe upper left corner y value

Definition at line 1373 of file Projection.cpp.

References Isis::PvlContainer::addKeyword(), Isis::Projection::m_mappingGrp, Isis::Displacement::meters(), and Isis::toString().

◆ SetWorld()

bool Isis::Projection::SetWorld ( const double worldX,
const double worldY )
virtualinherited

This method is used to set a world coordinate.

A world coordinate is a different coordinate type that has a one-to-one mapping to the projection coordinate system. For example, mapping pixel samples and lines to projection x's and y's. The Set forces an attempted calculation of the corresponding latitude/longitude position. This may or may not be successful and a status is returned as such. Note that is only applies if the Projection object was given an WorldMapper object during construction. If an WorldMapper was not supplied then SetWorld operates exactly the same as SetCoordinate (impling that world coordinate and projection coordinate are identical).

Parameters
worldXWorld X coordinate in units that are specified by the WorldMapper object (e.g., pixels, millimeters, etc)
worldYWorld Y coordinate in units that are specified by the WorldMapper object (e.g., pixels, millimeters, etc)
Returns
bool Indicates whether the method was successful.

Definition at line 497 of file Projection.cpp.

References Isis::Projection::m_mapper, Isis::WorldMapper::ProjectionX(), and Isis::WorldMapper::ProjectionY().

Referenced by Isis::ProcessExport::CreateWorldFile(), Isis::UniversalGroundMap::SetImage(), Isis::Camera::SetImageMapProjection(), Isis::SubArea::UpdateLabel(), and Isis::PolygonTools::XYToLatLon().

◆ SetWorldMapper()

void Isis::Projection::SetWorldMapper ( WorldMapper * mapper)
inherited

If desired the programmer can use this method to set a world mapper to be used in the SetWorld, WorldX, and WorldY methods.

Mappers typically transform a projection coordinate (x/y) into the desired working coordinate system, for example, cube pixels or inches on a piece of paper. They transform in both directions (world to projection and projection to world). This allows for conversions from line/sample to latitude/longitude and vice versa. This projection will take ownership of the WorldMapper pointer.

Parameters
mapperPointer to the mapper

Definition at line 474 of file Projection.cpp.

References Isis::Projection::m_mapper.

◆ SetXY()

◆ To180Domain()

double Isis::RingPlaneProjection::To180Domain ( const double ringLongitude)
static

This method converts a ring longitude into the -180 to 180 domain.

It will leave the ring longitude unchanged if it is already in the domain.

Parameters
ringLongitudeA ring longitude to convert into the -180 to 180 domain.
Exceptions
IException::Unknown- "The given longitude is invalid."
Returns
double The ring longitude, converted to 180 domain.

Definition at line 352 of file RingPlaneProjection.cpp.

References Isis::Angle::Degrees, Isis::Angle::degrees(), Isis::Longitude::force180Domain(), Isis::Null, and Isis::IException::Unknown.

Referenced by Isis::Planar::SetCoordinate(), SetUniversalGround(), ToClockwise(), ToCounterClockwise(), and Isis::AdvancedTrackTool::updateRow().

◆ To360Domain()

double Isis::RingPlaneProjection::To360Domain ( const double ringLongitude)
static

This method converts an ring longitude into the 0 to 360 domain.

It will leave the ring longitude unchanged if it is already in the domain.

Parameters
ringLongitudeThe ring longitude to convert into the 0 to 360 domain.
Returns
double The ring longitude, converted to 360 domain.

Definition at line 370 of file RingPlaneProjection.cpp.

References Isis::Angle::Degrees, Isis::Angle::degrees(), Isis::Longitude::force360Domain(), Isis::Null, and Isis::IException::Unknown.

Referenced by Isis::Planar::SetCoordinate(), SetUniversalGround(), ToClockwise(), ToCounterClockwise(), and UniversalRingLongitude().

◆ ToClockwise()

double Isis::RingPlaneProjection::ToClockwise ( const double ringLongitude,
const int domain )
static

This method converts an ring longitude into the clockwise direction.

Parameters
ringLongitudeThe ring longitude to convert into the clockwise direction.
domainMust be an integer value of 180 (for -180 to 180) or 360 (for 0 to 360).
Exceptions
IException::Unknown- "The given ring longitude is invalid."
IException::Unknown- "Unable to convert ring longitude. Domain is not 180 or 360."
Returns
double The ring longitude value, in clockwise direction.

Definition at line 240 of file RingPlaneProjection.cpp.

References Isis::Null, To180Domain(), To360Domain(), Isis::toString(), and Isis::IException::Unknown.

◆ ToCounterClockwise()

double Isis::RingPlaneProjection::ToCounterClockwise ( const double ringLongitude,
const int domain )
static

This method converts an ring longitude into the counterclockwise direction.

Parameters
ringLongitudeThe ring Longitude to convert into the counterclockwise direction.
domainMust be an integer value of 180 (for -180 to 180) or 360 (for 0 to 360).
Exceptions
IException::Unknown- "The given ring longitude is invalid."
IException::Unknown- "Unable to convert ring longitude. Domain is not 180 or 360."
Returns
double The ring longitude value, in counterclockwise direction.

Definition at line 280 of file RingPlaneProjection.cpp.

References Isis::Null, To180Domain(), To360Domain(), and Isis::IException::Unknown.

◆ ToDMS()

QString Isis::Projection::ToDMS ( double angle)
staticinherited

Converts the given angle (in degrees) to degrees, minutes, seconds.

Outputs in the form xxx yym zz.zzzs, for example, 206.291 degrees is 206 17m 27.6s

Parameters
angleAngle in degrees to be converted to degrees, minutes, seconds
Returns
string The angle in Degrees, minutes, seconds

Definition at line 706 of file Projection.cpp.

◆ ToHMS()

QString Isis::Projection::ToHMS ( double angle)
staticinherited

Converts the given angle (in degrees) to hours, minutes, seconds.

Outputs in the form xxh yym zz.zzzs For example, 206.291 will be 13h 45m 09.84s

Parameters
angleAngle in degrees to be converted to hours, minutes, seconds
Returns
string The angle in Hours, minutes, seconds

Definition at line 741 of file Projection.cpp.

References Isis::Projection::ToHours().

◆ ToHours()

double Isis::Projection::ToHours ( double angle)
staticinherited

Converts the given angle (in degrees) to hours by using the ratio 15 degrees per hour.

Parameters
angleAngle in degrees to be converted to hours
Returns
double The number of hours for the given angle.

Definition at line 693 of file Projection.cpp.

Referenced by Isis::Projection::ToHMS().

◆ ToProjectionX()

double Isis::Projection::ToProjectionX ( const double worldX) const
inherited

This method converts a world x value to a projection x value.

For example, if the world coordinate system is an image then this method converts a sample position to a projection x value. Note that if SetWorldMapper is not used then this routine simply returns the value of the argument. That is, no mapping occurs.

Parameters
worldXWorld x coordinate
Exceptions
IException::Unknown- "The given x-value is invalid."
Returns
double The projection X coordinate value.

Definition at line 622 of file Projection.cpp.

References Isis::Projection::m_mapper, Isis::Null, Isis::WorldMapper::ProjectionX(), and Isis::IException::Unknown.

◆ ToProjectionY()

double Isis::Projection::ToProjectionY ( const double worldY) const
inherited

This method converts a world y value to a projection y value.

For example, if the world coordinate system is an image then this method converts a line position to a projection y value. Note that if SetWorldMapper is not used then this routine simply returns the value of the argument. That is, no mapping occurs.

Parameters
worldYWorld y coordinate
Exceptions
IException::Unknown- "The given y-value is invalid."
Returns
double The projection Y coordinate value.

Definition at line 650 of file Projection.cpp.

References Isis::Projection::m_mapper, Isis::Null, Isis::WorldMapper::ProjectionY(), and Isis::IException::Unknown.

◆ ToWorldX()

double Isis::Projection::ToWorldX ( const double projectionX) const
inherited

This method converts a projection x value to a world x value.

For example, if the world coordinate system is an image then this method converts a projection x to a sample position. Note that if SetWorldMapper is not used then this routine simply returns the value of the argument. That is, no mapping occurs.

Parameters
projectionXProjection x value in meters
Exceptions
IException::Unknown- "The given x-value is invalid."
Returns
double The world X coordinate value.

Definition at line 566 of file Projection.cpp.

References Isis::Projection::m_mapper, Isis::Null, Isis::IException::Unknown, and Isis::WorldMapper::WorldX().

◆ ToWorldY()

double Isis::Projection::ToWorldY ( const double projectionY) const
inherited

This method converts a projection y value to a world y value.

For example, if the world coordinate system is an image then this method converts a projection y to a line position. Note that if SetWorldMapper is not used then this routine simply returns the value of the argument. That is, no mapping occurs.

Parameters
projectionYProjection y value in meters
Exceptions
IException::Unknown- "The given y-value is invalid."
Returns
double The world Y coordinate value.

Definition at line 594 of file Projection.cpp.

References Isis::Projection::m_mapper, Isis::Null, Isis::IException::Unknown, and Isis::WorldMapper::WorldY().

◆ TrueScaleRingRadius()

double Isis::RingPlaneProjection::TrueScaleRingRadius ( ) const
virtual

This method returns the radius of true scale.

It is a virtual function and if it is not overriden the default radius of true scale is 0 (at the equator). Otherwise it is projection specific. This method is used by the Scale routine to ensure the local radius is used in the computation.

Returns
double The radius where the projection is not distorted.

Reimplemented in Isis::Planar, and Isis::RingCylindrical.

Definition at line 199 of file RingPlaneProjection.cpp.

Referenced by Scale().

◆ UniversalRingLongitude()

double Isis::RingPlaneProjection::UniversalRingLongitude ( )

This returns a universal ring longitude (clockwise in 0 to 360 domain).

The method can only be used if SetGround, SetCoordinate, SetUniversalGround, or SetWorld return with success. Success can also be checked using the IsGood method.

Returns
double The universal ring longitude.

Definition at line 589 of file RingPlaneProjection.cpp.

References Clockwise, m_ringLongitude, m_ringLongitudeDirection, and To360Domain().

◆ UniversalRingRadius()

double Isis::RingPlaneProjection::UniversalRingRadius ( )

This returns a universal radius, which is just the radius in meters.

Returns
double The universal radius.

Definition at line 575 of file RingPlaneProjection.cpp.

References m_ringRadius.

Referenced by Isis::AdvancedTrackTool::updateRow().

◆ Version()

virtual QString Isis::RingPlaneProjection::Version ( ) const
pure virtual

This method returns the Version of the map projection.

It is a pure virtual method (requires all subclasses to override).

Returns
string The Version number of the map projection.

Implements Isis::Projection.

Implemented in Isis::Planar, and Isis::RingCylindrical.

◆ WorldX()

double Isis::Projection::WorldX ( ) const
virtualinherited

This returns the world X coordinate provided SetGround, SetCoordinate, SetUniversalGround, or SetWorld returned with success.

Success can also be checked using the IsGood method. The units of X will be in the units as specified by the WorldMapper object which was given to the SetWorldMapper method. If a mapper object was not given then world coordinates are the same as the projection coordinates (i.e., WorldX and XCoord will return the same value).

Returns
double The world X coordinate.

Definition at line 524 of file Projection.cpp.

References Isis::Projection::m_mapper, Isis::Projection::m_x, and Isis::WorldMapper::WorldX().

Referenced by Isis::MosaicSceneItem::drawImage(), Isis::ImagePolygon::FixPolePoly(), Isis::DemShape::localRadius(), Isis::Camera::RawFocalPlanetoImage(), Isis::UniversalGroundMap::Sample(), and Isis::Camera::SetRightAscensionDeclination().

◆ WorldY()

double Isis::Projection::WorldY ( ) const
virtualinherited

This returns the world Y coordinate provided SetGround, SetCoordinate, SetUniversalGround, or SetWorld returned with success.

Success can also be checked using the IsGood method. The units of Y will be in the units as specified by the WorldMapper object which was given to the SetWorldMapper. If a mapper object was not given then world coordinates are the same as the projection coordinates (i.e., WorldY and YCoord will return the same value).

Returns
double The world Y coordinate.

Definition at line 544 of file Projection.cpp.

References Isis::Projection::m_mapper, Isis::Projection::m_y, and Isis::WorldMapper::WorldY().

Referenced by Isis::MosaicSceneItem::drawImage(), Isis::ImagePolygon::FixPolePoly(), Isis::UniversalGroundMap::Line(), Isis::DemShape::localRadius(), Isis::Camera::RawFocalPlanetoImage(), and Isis::Camera::SetRightAscensionDeclination().

◆ XCoord()

double Isis::Projection::XCoord ( ) const
inherited

This returns the projection X provided SetGround, SetCoordinate, SetUniversalGround, or SetWorld returned with success.

Success can also be checked using the IsGood method. The units of X will be in the same . units as the radii obtained from the label.

Returns
double

Definition at line 387 of file Projection.cpp.

References Isis::Projection::m_x.

Referenced by Isis::TProjection::findExtreme(), Isis::PolygonTools::LatLonToXY(), SetCoordinate(), Isis::TProjection::SetCoordinate(), Isis::LambertConformal::XYRange(), Isis::PointPerspective::XYRange(), Isis::TProjection::XYRangeCheck(), and XYRangeCheck().

◆ XYRange()

bool Isis::RingPlaneProjection::XYRange ( double & minX,
double & maxX,
double & minY,
double & maxY )
virtual

This method is used to determine the x/y range which completely covers the area of interest specified by the ring radius/longitude range.

The ring radius/ring longitude range may be obtained from the labels. This method should not be used if HasGroundRange is false. The purpose of this method is to return the x/y range so it can be used to compute how large a map may need to be. For example, how big a piece of paper is needed or how large of an image needs to be created. This is method and therefore must be written by the derived class (e.g., Planar). The method may fail as indicated by its return value.

Parameters
&minXReference to the address where the minimum x coordinate value will be written. The Minimum x projection coordinate calculated by this method covers the ring radius/longitude range specified in the labels.
&maxXReference to the address where the maximum x coordinate value will be written. The Maximum x projection coordinate calculated by this method covers the ring radius/longitude range specified in the labels.
&minYReference to the address where the minimum y coordinate value will be written. The Minimum y projection coordinate calculated by this method covers the ring radius/longitude range specified in the labels.
&maxYReference to the address where the maximum y coordinate value will be written. The Maximum y projection coordinate calculated by this method covers the ring radius/longitude range specified in the labels.
Returns
bool Indicates whether the method was able to determine the X/Y Range of the projection. If yes, minX, maxX, minY, maxY will be set with these values.

Implements Isis::Projection.

Reimplemented in Isis::Planar, and Isis::RingCylindrical.

Definition at line 656 of file RingPlaneProjection.cpp.

References Isis::Projection::m_groundRangeGood, m_maximumRingLongitude, m_maximumRingRadius, m_minimumRingLongitude, m_minimumRingRadius, and Isis::Null.

◆ XYRangeCheck()

void Isis::RingPlaneProjection::XYRangeCheck ( const double ringRadius,
const double ringLongitude )
protectedvirtual

This convience function is established to assist in the development of the XYRange virtual method.

It allows the developer to test ground points (ring radius/longitude) to see if they produce a minimum/maximum projection coordinate. For example in Planar,

bool Planar::XYRange(double &minX, double &maxX,
double &minY, double &maxY) {
// Check the corners of the ring rad/lon range
// If the ring longitude crosses 0/360 check there
XYRangeCheck (minimumRingRadius, 0. or 360.);
XYRangeCheck (maximumRingRadius, 0 or 360.);
}
// Make sure everything is ordered
if (m_minimumX >= m_maximumX) return false;
if (m_minimumY >= m_maximumY) return false;
// Return X/Y min/maxs
minX = m_minimumX;
maxX = m_maximumX;
minY = m_minimumY;
maxY = m_maximumY;
return true;
}
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:379
double m_maximumX
See minimumX description.
Definition Projection.h:326
double m_minimumX
The data elements m_minimumX, m_minimumY, m_maximumX, and m_maximumY are convience data elements when...
Definition Projection.h:317
double m_minimumY
See minimumX description.
Definition Projection.h:327
double m_maximumY
See minimumX description.
Definition Projection.h:328
double m_minimumRingLongitude
Contains the minimum longitude for the entire ground range.
double m_maximumRingRadius
Contains the maximum ring radius for the entire ground range.
double m_maximumRingLongitude
Contains the maximum longitude for the entire ground range.
void XYRangeCheck(const double ringRadius, const double ringLongitude)
This convience function is established to assist in the development of the XYRange virtual method.
double m_minimumRingRadius
Contains the minimum ring radius for the entire ground range.
Parameters
ringRadiusTest for min/max projection coordinates at this radius
ringLongitudeTest for min/max projection coordinates at this ring longitude

Implements Isis::Projection.

Definition at line 709 of file RingPlaneProjection.cpp.

References Isis::Projection::IsGood(), Isis::Projection::m_good, Isis::Projection::m_maximumX, Isis::Projection::m_maximumY, Isis::Projection::m_minimumX, Isis::Projection::m_minimumY, Isis::Null, SetGround(), Isis::Projection::XCoord(), and Isis::Projection::YCoord().

Referenced by Isis::Planar::XYRange(), and Isis::RingCylindrical::XYRange().

◆ YCoord()

double Isis::Projection::YCoord ( ) const
inherited

This returns the projection Y provided SetGround, SetCoordinate, SetUniversalGround, or SetWorld returned with success.

Success can also be checked using the IsGood method. The units of Y will be in the same units as the radii obtained from the label.

Returns
double

Definition at line 400 of file Projection.cpp.

References Isis::Projection::m_y.

Referenced by Isis::TProjection::findExtreme(), Isis::PolygonTools::LatLonToXY(), SetCoordinate(), Isis::TProjection::SetCoordinate(), Isis::LambertConformal::XYRange(), Isis::PointPerspective::XYRange(), Isis::TProjection::XYRangeCheck(), and XYRangeCheck().

Member Data Documentation

◆ m_good

bool Isis::Projection::m_good
protectedinherited

Indicates if the contents of m_x, m_y, m_latitude, and m_longitude are valid.

Definition at line 300 of file Projection.h.

Referenced by Isis::TProjection::findExtreme(), Isis::Projection::IsGood(), Isis::Projection::Projection(), Isis::Projection::SetComputedXY(), Isis::Equirectangular::SetCoordinate(), Isis::LambertConformal::SetCoordinate(), Isis::LunarAzimuthalEqualArea::SetCoordinate(), Isis::Mercator::SetCoordinate(), Isis::ObliqueCylindrical::SetCoordinate(), Isis::Orthographic::SetCoordinate(), Isis::Planar::SetCoordinate(), Isis::PointPerspective::SetCoordinate(), Isis::PolarStereographic::SetCoordinate(), Isis::RingCylindrical::SetCoordinate(), SetCoordinate(), Isis::Robinson::SetCoordinate(), Isis::SimpleCylindrical::SetCoordinate(), Isis::Sinusoidal::SetCoordinate(), Isis::TProjection::SetCoordinate(), Isis::TransverseMercator::SetCoordinate(), Isis::Equirectangular::SetGround(), Isis::LambertConformal::SetGround(), Isis::LunarAzimuthalEqualArea::SetGround(), Isis::Mercator::SetGround(), Isis::ObliqueCylindrical::SetGround(), Isis::Orthographic::SetGround(), Isis::PointPerspective::SetGround(), Isis::PolarStereographic::SetGround(), Isis::Robinson::SetGround(), Isis::SimpleCylindrical::SetGround(), Isis::Sinusoidal::SetGround(), Isis::TProjection::SetGround(), Isis::TransverseMercator::SetGround(), Isis::Planar::SetGround(), Isis::RingCylindrical::SetGround(), SetGround(), Isis::Projection::SetUnboundUniversalGround(), Isis::TProjection::SetUnboundUniversalGround(), Isis::Projection::SetUniversalGround(), Isis::TProjection::SetUniversalGround(), SetUniversalGround(), Isis::Projection::SetXY(), Isis::LambertConformal::XYRange(), Isis::TProjection::XYRangeCheck(), and XYRangeCheck().

◆ m_groundRangeGood

bool Isis::Projection::m_groundRangeGood
protectedinherited

Indicates if the ground range (min/max lat/lons) were read from the labels.

Definition at line 313 of file Projection.h.

Referenced by Isis::Projection::HasGroundRange(), RingPlaneProjection(), Isis::TProjection::TProjection(), XYRange(), and Isis::TProjection::XYRange().

◆ m_mapper

WorldMapper* Isis::Projection::m_mapper
protectedinherited

This points to a mapper passed into the SetWorldMapper method.

This mapper allows the programmer to specify a different world coordinate system. Thus the programmer could pass in line/sample positions in order to obtain a latitude/longitude or set a lat/lon and get a line/sample.

Definition at line 292 of file Projection.h.

Referenced by Isis::Projection::Projection(), Isis::Projection::Resolution(), Scale(), Isis::TProjection::Scale(), Isis::Projection::SetWorld(), Isis::Projection::SetWorldMapper(), Isis::Projection::ToProjectionX(), Isis::Projection::ToProjectionY(), Isis::Projection::ToWorldX(), Isis::Projection::ToWorldY(), Isis::Projection::WorldX(), Isis::Projection::WorldY(), and Isis::Projection::~Projection().

◆ m_mappingGrp

PvlGroup Isis::Projection::m_mappingGrp
protectedinherited

Mapping group that created this projection.

Definition at line 329 of file Projection.h.

Referenced by Isis::Equirectangular::Mapping(), Isis::LambertConformal::Mapping(), Isis::LunarAzimuthalEqualArea::Mapping(), Isis::Mercator::Mapping(), Isis::ObliqueCylindrical::Mapping(), Isis::Orthographic::Mapping(), Isis::PointPerspective::Mapping(), Isis::PolarStereographic::Mapping(), Mapping(), Isis::Robinson::Mapping(), Isis::SimpleCylindrical::Mapping(), Isis::Sinusoidal::Mapping(), Isis::TProjection::Mapping(), Isis::TransverseMercator::Mapping(), Isis::Equirectangular::MappingLatitudes(), Isis::LambertConformal::MappingLatitudes(), Isis::Mercator::MappingLatitudes(), Isis::Orthographic::MappingLatitudes(), Isis::PointPerspective::MappingLatitudes(), Isis::PolarStereographic::MappingLatitudes(), Isis::TProjection::MappingLatitudes(), Isis::TransverseMercator::MappingLatitudes(), Isis::Equirectangular::MappingLongitudes(), Isis::LambertConformal::MappingLongitudes(), Isis::Mercator::MappingLongitudes(), Isis::Orthographic::MappingLongitudes(), Isis::PointPerspective::MappingLongitudes(), Isis::PolarStereographic::MappingLongitudes(), Isis::Robinson::MappingLongitudes(), Isis::SimpleCylindrical::MappingLongitudes(), Isis::Sinusoidal::MappingLongitudes(), Isis::TProjection::MappingLongitudes(), Isis::TransverseMercator::MappingLongitudes(), Isis::Planar::MappingRingLongitudes(), Isis::RingCylindrical::MappingRingLongitudes(), MappingRingLongitudes(), Isis::Planar::MappingRingRadii(), Isis::RingCylindrical::MappingRingRadii(), MappingRingRadii(), Isis::Projection::Projection(), RingPlaneProjection(), Isis::Projection::SetUpperLeftCorner(), and Isis::TProjection::TProjection().

◆ m_maximumRingLongitude

double Isis::RingPlaneProjection::m_maximumRingLongitude
protected

Contains the maximum longitude for the entire ground range.

Only usable if m_groundRangeGood is true.

Definition at line 290 of file RingPlaneProjection.h.

Referenced by MaximumRingLongitude(), Isis::Planar::Planar(), Isis::RingCylindrical::RingCylindrical(), RingPlaneProjection(), Isis::Planar::XYRange(), Isis::RingCylindrical::XYRange(), and XYRange().

◆ m_maximumRingRadius

double Isis::RingPlaneProjection::m_maximumRingRadius
protected

Contains the maximum ring radius for the entire ground range.

Only usable if m_groundRangeGood is true.

Definition at line 284 of file RingPlaneProjection.h.

Referenced by MaximumRingRadius(), Isis::Planar::Planar(), Isis::RingCylindrical::RingCylindrical(), RingPlaneProjection(), Isis::RingCylindrical::SetCoordinate(), Isis::Planar::XYRange(), Isis::RingCylindrical::XYRange(), and XYRange().

◆ m_maximumX

◆ m_maximumY

◆ m_minimumRingLongitude

double Isis::RingPlaneProjection::m_minimumRingLongitude
protected

Contains the minimum longitude for the entire ground range.

Only usable if m_groundRangeGood is true.

Definition at line 287 of file RingPlaneProjection.h.

Referenced by MinimumRingLongitude(), Isis::Planar::Planar(), Isis::RingCylindrical::RingCylindrical(), RingPlaneProjection(), Isis::Planar::XYRange(), Isis::RingCylindrical::XYRange(), and XYRange().

◆ m_minimumRingRadius

double Isis::RingPlaneProjection::m_minimumRingRadius
protected

Contains the minimum ring radius for the entire ground range.

Only usable if m_groundRangeGood is true.

Definition at line 281 of file RingPlaneProjection.h.

Referenced by MinimumRingRadius(), Isis::Planar::Planar(), Isis::RingCylindrical::RingCylindrical(), RingPlaneProjection(), Isis::Planar::XYRange(), Isis::RingCylindrical::XYRange(), and XYRange().

◆ m_minimumX

double Isis::Projection::m_minimumX
protectedinherited

The data elements m_minimumX, m_minimumY, m_maximumX, and m_maximumY are convience data elements when you write the XYRange virtual function.

They are used in conjuction with the XYRangeCheck convience method. After utilizing XYRangeCheck to test boundary conditions in the XYRange method these values will contain the projection x/y coverage for the ground range specified by min/max lat/lon.

Definition at line 317 of file Projection.h.

Referenced by Isis::Projection::Projection(), Isis::Equirectangular::XYRange(), Isis::LambertConformal::XYRange(), Isis::LunarAzimuthalEqualArea::XYRange(), Isis::Mercator::XYRange(), Isis::Orthographic::XYRange(), Isis::Planar::XYRange(), Isis::PolarStereographic::XYRange(), Isis::RingCylindrical::XYRange(), Isis::Robinson::XYRange(), Isis::SimpleCylindrical::XYRange(), Isis::Sinusoidal::XYRange(), Isis::TransverseMercator::XYRange(), Isis::TProjection::XYRangeCheck(), XYRangeCheck(), and Isis::TProjection::xyRangeOblique().

◆ m_minimumY

◆ m_pixelResolution

double Isis::Projection::m_pixelResolution
privateinherited

Pixel resolution value from the PVL mapping group, in meters/pixel.

Definition at line 344 of file Projection.h.

Referenced by Isis::Projection::PixelResolution(), and Isis::Projection::Projection().

◆ m_projectionType

ProjectionType Isis::Projection::m_projectionType
privateinherited

Definition at line 332 of file Projection.h.

◆ m_ringLongitude

double Isis::RingPlaneProjection::m_ringLongitude
protected

◆ m_ringLongitudeDirection

◆ m_ringLongitudeDomain

int Isis::RingPlaneProjection::m_ringLongitudeDomain
protected

This integer is either 180 or 360 and is read from the labels.

It represents the ring longitude domain when returning values through RingLongitude() method. The domain is either -180 to 180 or 0 to 360.

Definition at line 275 of file RingPlaneProjection.h.

Referenced by Has180Domain(), Has360Domain(), RingLongitudeDomainString(), RingPlaneProjection(), Isis::Planar::SetCoordinate(), and SetUniversalGround().

◆ m_ringRadius

double Isis::RingPlaneProjection::m_ringRadius
protected

◆ m_rotation

double Isis::Projection::m_rotation
privateinherited

◆ m_sky

bool Isis::Projection::m_sky
protectedinherited

Indicates whether projection is sky or land.

Definition at line 310 of file Projection.h.

Referenced by Isis::Projection::IsSky(), and Isis::Projection::Projection().

◆ m_x

double Isis::Projection::m_x
privateinherited

This contains the rotated X coordinate for a specific projection at theposition indicated by m_latitude/m_longitude.

The value is only usable if m_good is true.

Definition at line 335 of file Projection.h.

Referenced by Isis::Projection::GetX(), Isis::Projection::GetY(), Isis::Projection::Projection(), Isis::Projection::SetComputedXY(), Isis::Projection::SetXY(), Isis::Projection::WorldX(), and Isis::Projection::XCoord().

◆ m_y

double Isis::Projection::m_y
privateinherited

This contains the rotated Y coordinate for a specific projection at the position indicated by m_latitude/m_longitude.

The value is only usable if m_good is true.

Definition at line 339 of file Projection.h.

Referenced by Isis::Projection::GetX(), Isis::Projection::GetY(), Isis::Projection::Projection(), Isis::Projection::SetComputedXY(), Isis::Projection::SetXY(), Isis::Projection::WorldY(), and Isis::Projection::YCoord().


The documentation for this class was generated from the following files: