// IDisposable protected virtual void Dispose(bool disposing) { if (!this.disposedValue) { if (disposing) { // Free other state (managed objects). if (SOFA != null) { SOFA.Dispose(); SOFA = null; } } } this.disposedValue = true; }
public Transform() { SOFA = new SOFA.SOFA(); RAJ2000Value = System.Convert.ToDouble(double.NaN); //Initialise to invalid values in case these are read before they are set DECJ2000Value = System.Convert.ToDouble(double.NaN); RATopoValue = System.Convert.ToDouble(double.NaN); DECTopoValue = System.Convert.ToDouble(double.NaN); SiteElevValue = System.Convert.ToDouble(double.NaN); SiteLatValue = System.Convert.ToDouble(double.NaN); SiteLongValue = System.Convert.ToDouble(double.NaN); RefracValue = false; LastSetBy = SetBy.Never; RequiresRecalculate = true; JulianDateTTValue = 0; // Initialise to a value that forces the current PC date time to be used in determining the TT Julian date of interest CheckGAC(); }