private static void Main() { // startup data configuration // Update LeapSecond.dat, and use it in the current calculation context. LeapSecondsFacetHelper.GetLeapSeconds().UseInCurrentContext(); EarthCentralBody earth = CentralBodiesFacet.GetFromContext().Earth; // Load EOP Data - For fixed to inertial transformations earth.OrientationParameters = EarthOrientationParametersHelper.GetEarthOrientationParameters(); // Load JPL data // Optional - Without this an analytic model is used to position central bodies string dataPath = Path.Combine(Application.StartupPath, "Data"); JplDE430 jpl = new JplDE430(Path.Combine(dataPath, "plneph.430")); jpl.UseForCentralBodyPositions(CentralBodiesFacet.GetFromContext()); Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new LotsOfSatellites()); }
static Main() { // Load data for central bodies besides the earth, moon, and sun. s_jplData = new JplDE430(Path.Combine(DataPath, "plneph.430")); s_jplData.UseForCentralBodyPositions(CentralBodiesFacet.GetFromContext()); }