Definition at line 337 of file smartfact.cc.
References Nova::ZdAzPosn::az, Nova::GetHrzFromEqu(), Nova::GetLunarDisk(), Nova::GetLunarEquCoords(), Nova::GetLunarRst(), Time::JD(), HTML::kGreen, HTML::kRed, HTML::kYellow, Time::MinutesTo(), and Nova::ZdAzPosn::zd.
340 const double JD =
time.
JD();
352 const bool is_up = JD>moon.rise;
353 const bool is_sinking = JD>moon.transit;
354 const bool is_dn = JD>moon.set;
395 out << setprecision(2);
396 out << (
visible?
"visible ":
"") << (
disk<0.1?0:
disk) <<
"% [" << arr <<
"]";
static const string kYellow
EquPosn GetLunarEquCoords(double jd, double precision=0)
Adds some functionality to boost::posix_time::ptime for our needs.
double GetLunarDisk(double jd)
RstTime GetLunarRst(double jd, const LnLatPosn &obs=ORM())
static const string kGreen
HrzPosn GetHrzFromEqu(const EquPosn &equ, const LnLatPosn &obs, double jd)
std::string MinutesTo(const Time &=Time()) const