#include <cmath>#include <iomanip>#include <cstdio>#include <celmath/mathlib.h>#include "celestia.h"#include "astro.h"Include dependency graph for astro.cpp:

Go to the source code of this file.
Defines | |
| #define | B1950 2433282.423 |
Functions | |
| ostream & | operator<< (ostream &s, const astro::Date d) |
Variables | |
| static Mat3f | equatorialToCelestial = Mat3f::xrotation(degToRad(23.4392911f)) |
| static Mat3d | equatorialToCelestiald = Mat3d::xrotation(degToRad(23.4392911)) |
|
|
|
|
||||||||||||
|
Definition at line 453 of file astro.cpp. References astro::Date::day, astro::Date::hour, astro::Date::minute, astro::Date::month, astro::Date::seconds, and astro::Date::year. 00454 {
00455 s << d.year << ' ' << setw(2) << setfill('0') << d.month << ' ';
00456 s << setw(2) << setfill('0') << d.day << ' ';
00457 s << setw(2) << setfill('0') << d.hour << ':';
00458 s << setw(2) << setfill('0') << d.minute << ':';
00459 s << setw(2) << setfill('0') << (int) d.seconds;
00460 return s;
00461 }
|
|
|
Definition at line 33 of file astro.cpp. Referenced by astro::equatorialToCelestialCart(). |
|
|
Definition at line 34 of file astro.cpp. Referenced by astro::equatorialToCelestialCart(). |
1.4.1