Units
The set of usable angle measurement units.
Distance * m_polarRadius
Used for converting to Planetographic, this is the radius of the target perpendicular to the equatori...
Don't throw an exception if a latitude beyond -90/90 is found.
Latitude()
Create a blank Latitude object without Planetographic support.
bool inRange(Latitude min, Latitude max) const
Checks if this latitude value is within the given range.
This class is designed to encapsulate the concept of a Latitude.
Distance measurement, usually in meters.
Throw an exception if any problems are found.
This is the universal (and default) latitude coordinate system.
ErrorChecking m_errors
This contains which exceptions should not be thrown.
This is a secondary coordinate system for latitudes.
Contains multiple PvlContainers.
double planetocentric(Angle::Units units=Angle::Radians) const
Get the latitude in the planetocentric (universal) coordinate system.
void setPlanetographic(double latitude, Angle::Units units=Angle::Radians)
Set the latitude given a value in the Planetographic coordinate system.
void setPlanetocentric(double latitude, Angle::Units units=Angle::Radians)
Set the latitude given a value in the Planetocentric coordinate system.
Distance * m_equatorialRadius
Used for converting to Planetographic, this is the radius of the target on the equatorial plane...
virtual void setAngle(const double &angle, const Angle::Units &units)
Same as planetocentric.
Defines an angle and provides unit conversions.
~Latitude()
This cleans up the Latitude class.
ErrorChecking
Some user-configurable error checking parameters.
CoordinateType
These are the latitude coordinate systems.
Radians are generally used in mathematical equations, 0-2*PI is one circle, however these are more di...
Latitude add(Angle angleToAdd, PvlGroup mapping)
Adds an angle to this latitude.
Latitude & operator=(const Latitude &latitudeToCopy)
This assigns another latitude to this one - making this latitude an exact duplicate of the other...
virtual double angle(const Units &unit) const
Return angle value in desired units.
double planetographic(Angle::Units units=Angle::Radians) const
Get the latitude in the planetographic coordinate system.