111 Domain m_currentDomain;
Defines an angle and provides unit conversions.
Definition Angle.h:45
Units
The set of usable angle measurement units.
Definition Angle.h:49
@ Radians
Radians are generally used in mathematical equations, 0-2*PI is one circle, however these are more di...
Definition Angle.h:63
This class is designed to encapsulate the concept of a Longitude.
Definition Longitude.h:40
double positiveWest(Angle::Units units=Angle::Radians) const
Get the longitude in the PositiveWest coordinate system.
Definition Longitude.cpp:158
void setPositiveEast(double longitude, Angle::Units units=Angle::Radians)
Set the longitude given a value in the PositiveEast longitude system.
Definition Longitude.cpp:199
Direction
Possible longitude directions: Is a positive longitude towards east or towards west?
Definition Longitude.h:46
@ PositiveWest
As the longitude increases the actual position is more west.
Definition Longitude.h:50
@ PositiveEast
As the longitude increases the actual position is more east.
Definition Longitude.h:48
void setPositiveWest(double longitude, Angle::Units units=Angle::Radians)
Set the longitude given a value in the PositiveWest longitude system.
Definition Longitude.cpp:210
Longitude()
Create a blank Longitude object with 0-360 domain.
Definition Longitude.cpp:24
~Longitude()
This cleans up the Longitude class.
Definition Longitude.cpp:135
Domain
Use LongitudeDomain360 if 0-360 is the primary range of the longitude values with 180 being the 'cent...
Definition Longitude.h:62
@ Domain180
As the longitude increases the actual position is more west.
Definition Longitude.h:66
@ Domain360
As the longitude increases the actual position is more east.
Definition Longitude.h:64
Longitude force180Domain() const
This returns a longitude that is constricted to -180 to 180 degrees.
Definition Longitude.cpp:289
static QList< QPair< Longitude, Longitude > > to360Range(Longitude startLon, Longitude endLon)
Calculates where the longitude range is in 0-360.
Definition Longitude.cpp:364
Longitude force360Domain() const
This returns a longitude that is constricted to 0-360 degrees.
Definition Longitude.cpp:267
double positiveEast(Angle::Units units=Angle::Radians) const
Get the longitude in the PositiveEast coordinate system.
Definition Longitude.cpp:146
Longitude & operator=(const Longitude &longitudeToCopy)
Same as positiveEast.
Definition Longitude.cpp:252
bool inRange(Longitude min, Longitude max) const
Checks if this longitude value is within the given range.
Definition Longitude.cpp:319
Contains multiple PvlContainers.
Definition PvlGroup.h:41
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16