void setErrorChecking(ErrorChecking errors)
Set the error checking status.
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.
double planetographic(Angle::Units units=Angle::Radians) const
Get the latitude in the planetographic coordinate system.
Latitude()
Create a blank Latitude object without Planetographic support.
double planetocentric(Angle::Units units=Angle::Radians) const
Get the latitude in the planetocentric (universal) coordinate system.
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.
bool inRange(Latitude min, Latitude max) const
Checks if this latitude value is within the given range.
This is a secondary coordinate system for latitudes.
Contains multiple PvlContainers.
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.
ErrorChecking errorChecking() const
Get the error checking status.
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.
virtual double angle(const Units &unit) const
Return angle value in desired units.
~Latitude()
This cleans up the Latitude class.
Namespace for ISIS/Bullet specific routines.
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...