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