public void Semidiameter() { Assert.AreEqual(959.63, SolarEphem.Semidiameter(1), 1e-2); Assert.AreEqual(943.87, SolarEphem.Semidiameter(1.0167), 1e-2); Assert.AreEqual(975.94, SolarEphem.Semidiameter(0.98329), 1e-2); }
public double Semidiameter(SkyContext c) { return(SolarEphem.Semidiameter(c.Get(Ecliptical).Distance)); }