Astro Namespace Reference

Astronomical coordinate systems and coordinate conversions, time and data functions. More...

Classes

Enumerations

Functions

Variables


Function Documentation

coord Astro::operator- ( const coord &  P,
const coord &  Q 
)

Uses

  • 3x sin, 3x cos
  • 2x atan2
  • 1x sqrt
  • 9 multiplications
  • 4 additions

const char * Astro::scan_coord ( const char *  s,
double &  d 
)

Possible known formats are:

  1. as radians: eg. 1.23
  2. as degrees: eg 60.12°
  3. as deg,min,sec: eg. 60°12'13.8"
  4. as hour format: eg. 4.23h
  5. as hours,min,sec: eg. 4h10m30s

Returns:
Pointer to the position of the string where parsing was terminated.


Generated on Wed Jun 17 20:00:17 2009 for Light++ by  doxygen 1.5.6