FACT++  1.0
Nova::RstTime Sun::Rst ( double  jd,
double  hrz = LN_SOLAR_STANDART_HORIZON 
)
inline

Definition at line 108 of file smartfact.cc.

References Nova::GetSolarRst().

109  {
110  Nova::RstTime rs = Nova::GetSolarRst(jd-0.5, hrz);
111  if (jd>rs.rise || jd>rs.set)
112  {
113  const Nova::RstTime rs2 = Nova::GetSolarRst(jd+0.5, hrz);
114  if (jd>rs.rise)
115  rs.rise = rs2.rise;
116  if (jd>rs.set)
117  rs.set = rs2.set;
118  }
119  return rs;
120  }
RstTime GetSolarRst(double jd, const LnLatPosn &obs, double hrz=LN_SOLAR_STANDART_HORIZON)
Definition: nova.h:97
ln_rst_time RstTime
Definition: nova.h:13

+ Here is the call graph for this function: