Esempio n. 1
0
 public KeplerianModel(
     CelestialObject solarSystemObject,
     KeplerianValueModel baseValues,
     KeplerianValueModel centuryValues)
 {
     SolarSystemObject = solarSystemObject;
     BaseValues        = baseValues;
     CenturyValues     = centuryValues;
 }
        public KeplerianDateModel(
            DateTimeOffset referenceDate,
            KeplerianModel keplerianModel)
        {
            ReferenceDate = referenceDate;

            DaysDifference     = KeplerianHelper.GetDaysDifference(referenceDate);
            J2000CenturyFactor = KeplerianHelper.GetJ2000CenturyFactor(referenceDate);

            Values = keplerianModel.GetKeplerianValueModel(J2000CenturyFactor);
        }