| @@ -0,0 +1,351 @@ | ||
| package ASCOM.Astrometry.AstroUtils; | ||
|
|
||
| /* | ||
| Class providing a suite of tested astronomy support functions to save develpment effort and provide consistant behaviour. | ||
| A number of these routines are provided to support migration from the Astro32.dll. Unlike Astro32, these routines will work in | ||
| both 32bit and 64bit applications. | ||
| */ | ||
| public class AstroUtils{ | ||
|
|
||
| /* | ||
| null | ||
| null | ||
| */ | ||
| private double JulianDateUtc; | ||
| /* | ||
| null | ||
| null | ||
| */ | ||
| private double LeapSeconds; | ||
|
|
||
|
|
||
| /* | ||
| Releases all resources owned by the AstroUtils component and readies it for disposal | ||
| */ | ||
| public void Dispose(){ | ||
| return null; | ||
| } | ||
|
|
||
|
|
||
| /* | ||
| Flexible routine to range a number into a given range between a lower and an higher bound. | ||
| UpperEqual and LowerEqual switches control whether the ranged value can be equal to either the upper and lower bounds. So, | ||
| to range an hour angle into the range 0 to 23.999999.. hours, use this call: | ||
| RangedValue = Range(InputValue, 0.0, True, 24.0, False) | ||
| The input value will be returned in the range where 0.0 is an allowable value and 24.0 is not i.e. in the range 0..23.999999.. | ||
| It is not permissible for both LowerEqual and UpperEqual to be false because it will not be possible to return a value that is exactly equal | ||
| to either lower or upper bounds. An exception is thrown if this scenario is requested. | ||
| */ | ||
| public void Range(Double,Double,Boolean,Double,Boolean){ | ||
| return null; | ||
| } | ||
|
|
||
|
|
||
| /* | ||
| Conditions an hour angle to be in the range -12.0 to +12.0 by adding or subtracting 24.0 hours | ||
| */ | ||
| public void ConditionHA(Double){ | ||
| return null; | ||
| } | ||
|
|
||
|
|
||
| /* | ||
| Conditions a Right Ascension value to be in the range 0 to 23.999999.. hours | ||
| */ | ||
| public void ConditionRA(Double){ | ||
| return null; | ||
| } | ||
|
|
||
|
|
||
| /* | ||
| Returns the current DeltaT value in seconds | ||
| DeltaT is the difference between terrestrial time and the UT1 variant of universal time. ie.e TT = UT1 + DeltaT | ||
| */ | ||
| public void DeltaT(){ | ||
| return null; | ||
| } | ||
|
|
||
|
|
||
| /* | ||
| Current Julian date based on the terrestrial time (TT) time scale | ||
| When Delta-UT1 is provided, Terrestrial time is calculated as TT = UTC + DeltaUT1 + DeltaT. Otherwise, when Delta-UT1 is 0.0, | ||
| TT is calculated as TT = UTC + ΔAT + 32.184s, where ΔAT is the current number of leap seconds applied to UTC (34 at April 2012, with | ||
| the 35th being added at the end of June 2012). The resulting TT value is then converted to a Julian date and returned. | ||
| Forecast values of Delta-UT1 are published by IERS Bulletin A at http://maia.usno.navy.mil/ser7/ser7.dat | ||
| */ | ||
| public void JulianDateTT(Double){ | ||
| return null; | ||
| } | ||
|
|
||
|
|
||
| /* | ||
| Current Julian date based on the UT1 time scale | ||
| UT1 time is calculated as UT1 = UTC + DeltaUT1 when DeltaUT1 is non zero. otherwise it is calaulcated through TAI and DeltaT. | ||
| This value is then converted to a Julian date and returned. | ||
| When Delta-UT1 is provided, UT1 is calculated as UT1 = UTC + DeltaUT1. Otherwise, when Delta-UT1 is 0.0, | ||
| DeltaUT1 is calculated as DeltaUT1 = TT - DeltaT = UTC + ΔAT + 32.184s - DeltaT, where ΔAT is the current number of leap seconds applied | ||
| to UTC (34 at April 2012, with the 35th being added at the end of June 2012). | ||
| Forecast values of DUT1 are published by IERS Bulletin A at http://maia.usno.navy.mil/ser7/ser7.dat | ||
| */ | ||
| public void JulianDateUT1(Double){ | ||
| return null; | ||
| } | ||
|
|
||
|
|
||
| /* | ||
| Computes atmospheric refraction in zenith distance. | ||
| This version computes approximate refraction for optical wavelengths. This function | ||
| can be used for planning observations or telescope pointing, but should not be used for the | ||
| reduction of precise observations. | ||
| Note: Unlike the NOVAS Refract method, Unrefract returns the unrefracted zenith distance itself rather than | ||
| the difference between the refracted and unrefracted zenith distances. | ||
| */ | ||
| public void UnRefract(ASCOM.Astrometry.OnSurface,ASCOM.Astrometry.RefractionOption,Double){ | ||
| return null; | ||
| } | ||
|
|
||
|
|
||
| /* | ||
| Converts a calendar day, month, year to a modified Julian date | ||
| */ | ||
| public void CalendarToMJD(Int32,Int32,Int32){ | ||
| return null; | ||
| } | ||
|
|
||
|
|
||
| /* | ||
| Translates a modified Julian date to a VB ole automation date, presented as a double | ||
| */ | ||
| public void MJDToOADate(Double){ | ||
| return null; | ||
| } | ||
|
|
||
|
|
||
| /* | ||
| Translates a modified Julian date to a date | ||
| */ | ||
| public void MJDToDate(Double){ | ||
| return null; | ||
| } | ||
|
|
||
|
|
||
| /* | ||
| Returns a modified Julian date as a string formatted acording to the supplied presentation format | ||
| This expects the standard Microsoft date and time formatting characters as described | ||
| in http://msdn.microsoft.com/en-us/library/362btx8f(v=VS.90).aspx | ||
| */ | ||
| public void FormatMJD(Double,String){ | ||
| return null; | ||
| } | ||
|
|
||
|
|
||
| /* | ||
| Proivides an estimates of DeltaUT1, the difference between UTC and UT1. DeltaUT1 = UT1 - UTC | ||
| DeltaUT varies only slowly, so the Julian date can be based on UTC, UT1 or Terrestrial Time. | ||
| */ | ||
| public void DeltaUT(Double){ | ||
| return null; | ||
| } | ||
|
|
||
|
|
||
| /* | ||
| Returns a Julian date as a string formatted according to the supplied presentation format | ||
| This expects the standard Microsoft date and time formatting characters as described | ||
| in http://msdn.microsoft.com/en-us/library/362btx8f(v=VS.90).aspx | ||
| */ | ||
| public void FormatJD(Double,String){ | ||
| return null; | ||
| } | ||
|
|
||
|
|
||
| /* | ||
| Function that returns a list of rise and set events of a particular type that occur on a particular day at a given latitude, longitude and time zone | ||
| The definitions of sunrise, sunset and the various twighlights that are used in this method are taken from the | ||
| US Naval Observatory Definitions. | ||
| The dynamics of the sun, Earth and Moon can result at some latitudes in days where there may be no, 1 or 2 rise or set events during | ||
| a 24 hour period; in consequence, results are returned in the flexible form of arraylist. | ||
| The returned zero based arraylist has the following values: | ||
| Arraylist(0) - Boolean - True if the body is above the event limit at midnight (the beginning of the 24 hour day), false if it is below the event limit | ||
| Arraylist(1) - Integer - Number of rise events in this 24 hour period | ||
| Arraylist(2) - Integer - Number of set events in this 24 hour period | ||
| Arraylist(3) onwards - Double - Values of rise events in hours | ||
| Arraylist(3 + NumberOfRiseEvents) onwards - Double - Values of set events in hours | ||
| If the number of rise events is zero the first double value will be the first set event. If the numbers of both rise and set events | ||
| are zero, there will be no double values and the arraylist will just contain elements 0, 1 and 2, the above/below horizon flag and the integer count values. | ||
| The algorithm employed in this method is taken from Astronomy on the Personal Computer (Montenbruck and Pfleger) pp 46..56, | ||
| Springer Fourth Edition 2000, Fourth Printing 2009. The day is divided into twelve two hour intervals and a quadratic equation is fitted | ||
| to the altitudes at the beginning, middle and end of each interval. The resulting equation coefficients are then processed to determine | ||
| the number of roots within the interval (each of which corresponds to a rise or set event) and their sense (rise or set). | ||
| These results are are then aggregated over the day and the resultant list of values returned as the function result. | ||
| High precision ephemeredes for the Sun, Moon and Earth and other planets from the JPL DE421 series are employed as delivered by the | ||
| ASCOM NOVAS 3.1 component rather than using the lower precision ephemeredes employed by Montenbruck and Pfleger. | ||
| Accuracy Whole year almanacs for Sunrise/Sunset, Moonrise/Moonset and the various twighlights every 5 degrees from the | ||
| North pole to the South Pole at a variety of longitudes, timezones and dates have been compared to data from | ||
| the US Naval Observatory Astronomical Data web site. The RMS error has been found to be | ||
| better than 0.5 minute over the latitude range 80 degrees North to 80 degrees South and better than 5 minutes from 80 degrees to the relevant pole. | ||
| Most returned values are within 1 minute of the USNO values although some very infrequent grazing event times at lattiudes from 67 to 90 degrees North and South can be up to | ||
| 10 minutes different. | ||
| An Almanac program that creates a year's worth of information for a given event, lattitude, longitude and timezone is included in the | ||
| developer code examples elsewhere in this help file. This creates an output file with an almost identical format to that used by the USNO web site | ||
| and allows comprehensive checking of acccuracy for a given set of parameters. | ||
| */ | ||
| public void EventTimes(ASCOM.Astrometry.EventType,Int32,Int32,Int32,Double,Double,Double){ | ||
| return null; | ||
| } | ||
|
|
||
|
|
||
| /* | ||
| Returns the altitude of the body given the input parameters | ||
| */ | ||
| public void BodyAltitude(ASCOM.Astrometry.EventType,Double,Double,Double,Double){ | ||
| return null; | ||
| } | ||
|
|
||
|
|
||
| /* | ||
| Returns the fraction of the Moon's surface that is illuminated | ||
| The algorithm used is that given in Astronomical Algorithms (Second Edition, Corrected to August 2009) | ||
| Chapter 48 p345 by Jean Meeus (Willmann-Bell 1991). The Sun and Moon positions are calculated by high precision NOVAS 3.1 library using JPL DE 421 ephemeredes. | ||
| */ | ||
| public void MoonIllumination(Double){ | ||
| return null; | ||
| } | ||
|
|
||
|
|
||
| /* | ||
| Returns the Moon phase as an angle | ||
| To allow maximum freedom in displaying the Moon phase, this function returns the excess of the apparent geocentric longitude | ||
| of the Moon over the apparent geocentric longitude of the Sun, expressed as an angle in the range -180.0 to +180.0 degrees. | ||
| This definition is taken from Astronomical Algorithms (Second Edition, Corrected to August 2009) Chapter 49 p349 | ||
| by Jean Meeus (Willmann-Bell 1991). | ||
| The frequently used eight phase description for phases of the Moon can be easily constructed from the results of this function | ||
| using logic similar to the following: | ||
| Select Case MoonPhase | ||
| Case -180.0 To -135.0 | ||
| Phase = "Full Moon" | ||
| Case -135.0 To -90.0 | ||
| Phase = "Waning Gibbous" | ||
| Case -90.0 To -45.0 | ||
| Phase = "Last Quarter" | ||
| Case -45.0 To 0.0 | ||
| Phase = "Waning Crescent" | ||
| Case 0.0 To 45.0 | ||
| Phase = "New Moon" | ||
| Case 45.0 To 90.0 | ||
| Phase = "Waxing Crescent" | ||
| Case 90.0 To 135.0 | ||
| Phase = "First Quarter" | ||
| Case 135.0 To 180.0 | ||
| Phase = "Waxing Gibbous" | ||
| End Select | ||
| Other representations can be easily constructed by changing the angle ranges and text descriptors as desired. The result range -180 to +180 | ||
| was chosen so that negative values represent the Moon waning and positive values represent the Moon waxing. | ||
| */ | ||
| public void MoonPhase(Double){ | ||
| return null; | ||
| } | ||
|
|
||
| /* | ||
| Sets null | ||
| null | ||
| */ | ||
| public void setJulianDateUtc(double _theValue){ | ||
| this.JulianDateUtc=_theValue; | ||
| } | ||
|
|
||
| /* | ||
| Gets null | ||
| null | ||
| */ | ||
| public double getJulianDateUtc(){ | ||
| return JulianDateUtc; | ||
| } | ||
|
|
||
| /* | ||
| Sets null | ||
| null | ||
| */ | ||
| public void setLeapSeconds(double _theValue){ | ||
| this.LeapSeconds=_theValue; | ||
| } | ||
|
|
||
| /* | ||
| Gets null | ||
| null | ||
| */ | ||
| public double getLeapSeconds(){ | ||
| return LeapSeconds; | ||
| } | ||
| } |
| @@ -0,0 +1,12 @@ | ||
| package ASCOM.Astrometry; | ||
|
|
||
| /* | ||
| Body number starting with Mercury = 1 | ||
| */ | ||
| public class Body{ | ||
|
|
||
| } |
| @@ -0,0 +1,13 @@ | ||
| package ASCOM.Astrometry; | ||
|
|
||
| /* | ||
| Structure to hold body type, number and name | ||
| Designates a celestial object. | ||
| */ | ||
| public class BodyDescription{ | ||
|
|
||
| } |
| @@ -0,0 +1,12 @@ | ||
| package ASCOM.Astrometry; | ||
|
|
||
| /* | ||
| Type of body, Major Planet, Moon, Sun or Minor Planet | ||
| */ | ||
| public class BodyType{ | ||
|
|
||
| } |
| @@ -0,0 +1,16 @@ | ||
| package ASCOM.Astrometry; | ||
|
|
||
| /* | ||
| Structure to hold astrometric catalogue data | ||
| The astrometric catalog data for a star; equator and equinox and units will depend on the catalog. | ||
| While this structure can be used as a generic container for catalog data, all high-level | ||
| NOVAS-C functions require J2000.0 catalog data with FK5-type units (shown in square brackets below). | ||
| */ | ||
| public class CatEntry{ | ||
|
|
||
| } |
| @@ -0,0 +1,23 @@ | ||
| package ASCOM.Astrometry; | ||
|
|
||
| /* | ||
| Catalogue entry structure | ||
| Basic astrometric data for any celestial object located outside the solar system; the catalog data for a star. | ||
| This structure is identical to the NOVAS2 CatEntry structure expect that, for some reason, the StarName and Catalog fields | ||
| have been swapped in the NOVAS3 structure. | ||
| Please note that some units have changed from those used in NOVAS2 as follows: | ||
| proper motion in right ascension: from seconds per century to milliarcseconds per year | ||
| proper motion in declination: from arcseconds per century to milliarcseconds per year | ||
| parallax: from arcseconds to milliarcseconds | ||
| */ | ||
| public class CatEntry3{ | ||
|
|
||
| } |
| @@ -0,0 +1,12 @@ | ||
| package ASCOM.Astrometry; | ||
|
|
||
| /* | ||
| Coordinate system of the output position | ||
| Used by function Place | ||
| */ | ||
| public class CoordSys{ | ||
|
|
||
| } |
| @@ -0,0 +1,29 @@ | ||
| package ASCOM.Astrometry; | ||
|
|
||
| /* | ||
| Static class containing one member to return the value of Delta T for a given Julian date. | ||
| See the DeltaT member for further information | ||
| */ | ||
| public class DeltaT{ | ||
|
|
||
|
|
||
|
|
||
| /* | ||
| Return the value of DeltaT for the given Julian date | ||
| Valid between the years 1650 and 2050. Based on the polynomial given at http://sunearth.gsfc.nasa.gov/eclipse/SEcat5/deltatpoly.html as retrtieved on 11-Jan-2009. | ||
| The Astronomical Almanac table is corrected by adding the expression: -0.000091 (ndot + 26)(year-1955)^2 seconds | ||
| to entries prior to 1955 (AA page K8), where ndot is the secular tidal term in the mean motion of the Moon. | ||
| Entries after 1955 are referred to atomic time standards and are not affected by errors in Lunar or planetary theory. | ||
| See also: Morrison, L. and Stephenson, F. R., "Historical Values of the Earth's Clock Error ΔT and the Calculation of Eclipses", J. Hist. Astron., Vol. 35 Part 3, August 2004, No. 120, pp 327-336 (2004). | ||
| Note, Stephenson and Morrison's table starts at the year 1630.The actual accuracy decreases rapidly prior to 1780. | ||
| */ | ||
| public void DeltaT(Double){ | ||
| return null; | ||
| } | ||
| } |
| @@ -0,0 +1,12 @@ | ||
| package ASCOM.Astrometry; | ||
|
|
||
| /* | ||
| Location of observer, determining whether the gravitational deflection due to the earth itself is applied. | ||
| Used by GravDef method. | ||
| */ | ||
| public class EarthDeflection{ | ||
|
|
||
| } |
| @@ -0,0 +1,12 @@ | ||
| package ASCOM.Astrometry; | ||
|
|
||
| /* | ||
| Type of equinox | ||
| */ | ||
| public class EquinoxType{ | ||
|
|
||
| } |
| @@ -0,0 +1,12 @@ | ||
| package ASCOM.Astrometry; | ||
|
|
||
| /* | ||
| Type of event for which an ephemeris is required | ||
| */ | ||
| public class EventType{ | ||
|
|
||
| } |
| @@ -0,0 +1,47 @@ | ||
| package ASCOM.Astrometry.Exceptions; | ||
|
|
||
| /* | ||
| Exception thrown when an incompatible component is encountered that prevents an Astrometric compoent | ||
| from functioning correctly. | ||
| correctly. | ||
| */ | ||
| public class CompatibilityException{ | ||
|
|
||
|
|
||
|
|
||
| /* | ||
| Create a new exception with message | ||
| */ | ||
| public void CompatibilityException(String){ | ||
| return null; | ||
| } | ||
|
|
||
|
|
||
| /* | ||
| Create a new exception with message | ||
| */ | ||
| public void CompatibilityException(String,Exception){ | ||
| return null; | ||
| } | ||
|
|
||
|
|
||
| /* | ||
| Serialise the exception | ||
| */ | ||
| public void CompatibilityException(Runtime.Serialization.SerializationInfo,Runtime.Serialization.StreamingContext){ | ||
| return null; | ||
| } | ||
| } |
| @@ -0,0 +1,45 @@ | ||
| package ASCOM.Astrometry.Exceptions; | ||
|
|
||
| /* | ||
| Exception thrown when an iterative Transform function fails to converge. | ||
| */ | ||
| public class ConvergenceFailureException{ | ||
|
|
||
|
|
||
|
|
||
| /* | ||
| Create a new exception with the message | ||
| */ | ||
| public void ConvergenceFailureException(String){ | ||
| return null; | ||
| } | ||
|
|
||
|
|
||
| /* | ||
| Create a new exception with message | ||
| */ | ||
| public void ConvergenceFailureException(String,Exception){ | ||
| return null; | ||
| } | ||
|
|
||
|
|
||
| /* | ||
| Serialise the exception | ||
| */ | ||
| public void ConvergenceFailureException(Runtime.Serialization.SerializationInfo,Runtime.Serialization.StreamingContext){ | ||
| return null; | ||
| } | ||
| } |
| @@ -0,0 +1,45 @@ | ||
| package ASCOM.Astrometry.Exceptions; | ||
|
|
||
| /* | ||
| Exception thrown when a NOVAS function returns a non-zero, error completion code. | ||
| This probably occurs because another variable has not been set or a required method has not been called. | ||
| */ | ||
| public class NOVASFunctionException{ | ||
|
|
||
|
|
||
|
|
||
| /* | ||
| Create a new exception with message, function name and error code | ||
| */ | ||
| public void NOVASFunctionException(String,String,Int16){ | ||
| return null; | ||
| } | ||
|
|
||
|
|
||
| /* | ||
| Create a new exception with message | ||
| */ | ||
| public void NOVASFunctionException(String,Exception){ | ||
| return null; | ||
| } | ||
|
|
||
|
|
||
| /* | ||
| Serialise the exception | ||
| */ | ||
| public void NOVASFunctionException(Runtime.Serialization.SerializationInfo,Runtime.Serialization.StreamingContext){ | ||
| return null; | ||
| } | ||
| } |
| @@ -0,0 +1,46 @@ | ||
| package ASCOM.Astrometry.Exceptions; | ||
|
|
||
| /* | ||
| Exception thrown when an attempt is made to read from the transform component before it has had co-ordinates | ||
| set once by SetJ2000 or SetJNow. | ||
| */ | ||
| public class TransformUninitialisedException{ | ||
|
|
||
|
|
||
|
|
||
| /* | ||
| Create a new exception with message | ||
| */ | ||
| public void TransformUninitialisedException(String){ | ||
| return null; | ||
| } | ||
|
|
||
|
|
||
| /* | ||
| Create a new exception with message | ||
| */ | ||
| public void TransformUninitialisedException(String,Exception){ | ||
| return null; | ||
| } | ||
|
|
||
|
|
||
| /* | ||
| Serialise the exception | ||
| */ | ||
| public void TransformUninitialisedException(Runtime.Serialization.SerializationInfo,Runtime.Serialization.StreamingContext){ | ||
| return null; | ||
| } | ||
| } |
| @@ -0,0 +1,45 @@ | ||
| package ASCOM.Astrometry.Exceptions; | ||
|
|
||
| /* | ||
| Exception thrown when an attempt is made to read a value that has not yet been calculated. | ||
| This probably occurs because another variable has not been set or a required method has not been called. | ||
| */ | ||
| public class ValueNotAvailableException{ | ||
|
|
||
|
|
||
|
|
||
| /* | ||
| Create a new exception with message | ||
| */ | ||
| public void ValueNotAvailableException(String){ | ||
| return null; | ||
| } | ||
|
|
||
|
|
||
| /* | ||
| Create a new exception with message | ||
| */ | ||
| public void ValueNotAvailableException(String,Exception){ | ||
| return null; | ||
| } | ||
|
|
||
|
|
||
| /* | ||
| Serialise the exception | ||
| */ | ||
| public void ValueNotAvailableException(Runtime.Serialization.SerializationInfo,Runtime.Serialization.StreamingContext){ | ||
| return null; | ||
| } | ||
| } |
| @@ -0,0 +1,45 @@ | ||
| package ASCOM.Astrometry.Exceptions; | ||
|
|
||
| /* | ||
| Exception thrown when an attempt is made to read a value that has not yet been set. | ||
| */ | ||
| public class ValueNotSetException{ | ||
|
|
||
|
|
||
|
|
||
| /* | ||
| Create a new exception with message | ||
| */ | ||
| public void ValueNotSetException(String){ | ||
| return null; | ||
| } | ||
|
|
||
|
|
||
| /* | ||
| Create a new exception with message | ||
| */ | ||
| public void ValueNotSetException(String,Exception){ | ||
| return null; | ||
| } | ||
|
|
||
|
|
||
| /* | ||
| Serialise the exception | ||
| */ | ||
| public void ValueNotSetException(Runtime.Serialization.SerializationInfo,Runtime.Serialization.StreamingContext){ | ||
| return null; | ||
| } | ||
| } |
| @@ -0,0 +1,12 @@ | ||
| package ASCOM.Astrometry; | ||
|
|
||
| /* | ||
| Direction of frame conversion | ||
| Used by FrameTie method. | ||
| */ | ||
| public class FrameConversionDirection{ | ||
|
|
||
| } |
| @@ -0,0 +1,13 @@ | ||
| package ASCOM.Astrometry; | ||
|
|
||
| /* | ||
| Structure to hold Sun and Moon fundamental arguments | ||
| Fundamental arguments, in radians | ||
| */ | ||
| public class FundamentalArgs{ | ||
|
|
||
| } |
| @@ -0,0 +1,12 @@ | ||
| package ASCOM.Astrometry; | ||
|
|
||
| /* | ||
| Type of sidereal time | ||
| */ | ||
| public class GstType{ | ||
|
|
||
| } |
| @@ -0,0 +1,12 @@ | ||
| package ASCOM.Astrometry; | ||
|
|
||
| /* | ||
| Observer’s position and velocity in a near-Earth spacecraft. | ||
| */ | ||
| public class InSpace{ | ||
|
|
||
| } |
| @@ -0,0 +1,12 @@ | ||
| package ASCOM.Astrometry; | ||
|
|
||
| /* | ||
| Computation method | ||
| */ | ||
| public class Method{ | ||
|
|
||
| } |
| @@ -0,0 +1,54 @@ | ||
| package ASCOM.Astrometry.My.Resources; | ||
|
|
||
| /* | ||
| A strongly-typed resource class, for looking up localized strings, etc. | ||
| */ | ||
| public class Resources{ | ||
|
|
||
| /* | ||
| null | ||
| null | ||
| */ | ||
| private double ResourceManager; | ||
| /* | ||
| null | ||
| null | ||
| */ | ||
| private double Culture; | ||
|
|
||
| /* | ||
| Sets null | ||
| null | ||
| */ | ||
| public void setResourceManager(double _theValue){ | ||
| this.ResourceManager=_theValue; | ||
| } | ||
|
|
||
| /* | ||
| Gets null | ||
| null | ||
| */ | ||
| public double getResourceManager(){ | ||
| return ResourceManager; | ||
| } | ||
|
|
||
| /* | ||
| Sets null | ||
| null | ||
| */ | ||
| public void setCulture(double _theValue){ | ||
| this.Culture=_theValue; | ||
| } | ||
|
|
||
| /* | ||
| Gets null | ||
| null | ||
| */ | ||
| public double getCulture(){ | ||
| return Culture; | ||
| } | ||
| } |
| @@ -0,0 +1,280 @@ | ||
| package ASCOM.Astrometry.NOVASCOM; | ||
|
|
||
| /* | ||
| NOVAS-COM: Represents the "state" of the Earth at a given Terrestrial Julian date | ||
| NOVAS-COM objects of class Earth represent the "state" of the Earth at a given Terrestrial Julian date. | ||
| The state includes barycentric and heliocentric position vectors for the earth, plus obliquity, | ||
| nutation and the equation of the equinoxes. Unless set by the client, the Earth ephemeris used is | ||
| computed using an internal approximation. The client may optionally attach an ephemeris object for | ||
| increased accuracy. | ||
| Ephemeris Generator | ||
| The ephemeris generator object used with NOVAS-COM must support a single | ||
| method GetPositionAndVelocity(tjd). This method must take a terrestrial Julian date (like the | ||
| NOVAS-COM methods) as its single parameter, and return an array of Double | ||
| containing the rectangular (x/y/z) heliocentric J2000 equatorial coordinates of position (AU) and velocity | ||
| (KM/sec.). In addition, it must support three read/write properties BodyType, Name, and Number, | ||
| which correspond to the Type, Name, and Number properties of Novas.Planet. | ||
| */ | ||
| public class Earth{ | ||
|
|
||
| /* | ||
| null | ||
| null | ||
| */ | ||
| private double BarycentricPosition; | ||
| /* | ||
| null | ||
| null | ||
| */ | ||
| private double BarycentricTime; | ||
| /* | ||
| null | ||
| null | ||
| */ | ||
| private double BarycentricVelocity; | ||
| /* | ||
| null | ||
| null | ||
| */ | ||
| private double EarthEphemeris; | ||
| /* | ||
| null | ||
| null | ||
| */ | ||
| private double EquationOfEquinoxes; | ||
| /* | ||
| null | ||
| null | ||
| */ | ||
| private double HeliocentricPosition; | ||
| /* | ||
| null | ||
| null | ||
| */ | ||
| private double HeliocentricVelocity; | ||
| /* | ||
| null | ||
| null | ||
| */ | ||
| private double MeanObliquity; | ||
| /* | ||
| null | ||
| null | ||
| */ | ||
| private double NutationInLongitude; | ||
| /* | ||
| null | ||
| null | ||
| */ | ||
| private double NutationInObliquity; | ||
| /* | ||
| null | ||
| null | ||
| */ | ||
| private double TrueObliquity; | ||
|
|
||
|
|
||
| /* | ||
| Create a new instance of the Earth object | ||
| */ | ||
| public void Earth(){ | ||
| return null; | ||
| } | ||
|
|
||
|
|
||
| /* | ||
| Initialize the Earth object for given terrestrial Julian date | ||
| */ | ||
| public void SetForTime(Double){ | ||
| return null; | ||
| } | ||
|
|
||
| /* | ||
| Sets null | ||
| null | ||
| */ | ||
| public void setBarycentricPosition(double _theValue){ | ||
| this.BarycentricPosition=_theValue; | ||
| } | ||
|
|
||
| /* | ||
| Gets null | ||
| null | ||
| */ | ||
| public double getBarycentricPosition(){ | ||
| return BarycentricPosition; | ||
| } | ||
|
|
||
| /* | ||
| Sets null | ||
| null | ||
| */ | ||
| public void setBarycentricTime(double _theValue){ | ||
| this.BarycentricTime=_theValue; | ||
| } | ||
|
|
||
| /* | ||
| Gets null | ||
| null | ||
| */ | ||
| public double getBarycentricTime(){ | ||
| return BarycentricTime; | ||
| } | ||
|
|
||
| /* | ||
| Sets null | ||
| null | ||
| */ | ||
| public void setBarycentricVelocity(double _theValue){ | ||
| this.BarycentricVelocity=_theValue; | ||
| } | ||
|
|
||
| /* | ||
| Gets null | ||
| null | ||
| */ | ||
| public double getBarycentricVelocity(){ | ||
| return BarycentricVelocity; | ||
| } | ||
|
|
||
| /* | ||
| Sets null | ||
| null | ||
| */ | ||
| public void setEarthEphemeris(double _theValue){ | ||
| this.EarthEphemeris=_theValue; | ||
| } | ||
|
|
||
| /* | ||
| Gets null | ||
| null | ||
| */ | ||
| public double getEarthEphemeris(){ | ||
| return EarthEphemeris; | ||
| } | ||
|
|
||
| /* | ||
| Sets null | ||
| null | ||
| */ | ||
| public void setEquationOfEquinoxes(double _theValue){ | ||
| this.EquationOfEquinoxes=_theValue; | ||
| } | ||
|
|
||
| /* | ||
| Gets null | ||
| null | ||
| */ | ||
| public double getEquationOfEquinoxes(){ | ||
| return EquationOfEquinoxes; | ||
| } | ||
|
|
||
| /* | ||
| Sets null | ||
| null | ||
| */ | ||
| public void setHeliocentricPosition(double _theValue){ | ||
| this.HeliocentricPosition=_theValue; | ||
| } | ||
|
|
||
| /* | ||
| Gets null | ||
| null | ||
| */ | ||
| public double getHeliocentricPosition(){ | ||
| return HeliocentricPosition; | ||
| } | ||
|
|
||
| /* | ||
| Sets null | ||
| null | ||
| */ | ||
| public void setHeliocentricVelocity(double _theValue){ | ||
| this.HeliocentricVelocity=_theValue; | ||
| } | ||
|
|
||
| /* | ||
| Gets null | ||
| null | ||
| */ | ||
| public double getHeliocentricVelocity(){ | ||
| return HeliocentricVelocity; | ||
| } | ||
|
|
||
| /* | ||
| Sets null | ||
| null | ||
| */ | ||
| public void setMeanObliquity(double _theValue){ | ||
| this.MeanObliquity=_theValue; | ||
| } | ||
|
|
||
| /* | ||
| Gets null | ||
| null | ||
| */ | ||
| public double getMeanObliquity(){ | ||
| return MeanObliquity; | ||
| } | ||
|
|
||
| /* | ||
| Sets null | ||
| null | ||
| */ | ||
| public void setNutationInLongitude(double _theValue){ | ||
| this.NutationInLongitude=_theValue; | ||
| } | ||
|
|
||
| /* | ||
| Gets null | ||
| null | ||
| */ | ||
| public double getNutationInLongitude(){ | ||
| return NutationInLongitude; | ||
| } | ||
|
|
||
| /* | ||
| Sets null | ||
| null | ||
| */ | ||
| public void setNutationInObliquity(double _theValue){ | ||
| this.NutationInObliquity=_theValue; | ||
| } | ||
|
|
||
| /* | ||
| Gets null | ||
| null | ||
| */ | ||
| public double getNutationInObliquity(){ | ||
| return NutationInObliquity; | ||
| } | ||
|
|
||
| /* | ||
| Sets null | ||
| null | ||
| */ | ||
| public void setTrueObliquity(double _theValue){ | ||
| this.TrueObliquity=_theValue; | ||
| } | ||
|
|
||
| /* | ||
| Gets null | ||
| null | ||
| */ | ||
| public double getTrueObliquity(){ | ||
| return TrueObliquity; | ||
| } | ||
| } |
| @@ -0,0 +1,269 @@ | ||
| package ASCOM.Astrometry.NOVASCOM; | ||
|
|
||
| /* | ||
| Interface to an Earth object that represents the "state" of the Earth at a given Terrestrial Julian date | ||
| Objects of class Earth represent the "state" of the Earth at a given Terrestrial Julian date. | ||
| The state includes barycentric and heliocentric position vectors for the earth, plus obliquity, | ||
| nutation and the equation of the equinoxes. Unless set by the client, the Earth ephemeris used is | ||
| computed using an internal approximation. The client may optionally attach an ephemeris object for | ||
| increased accuracy. | ||
| Ephemeris Generator | ||
| The ephemeris generator object used with NOVAS-COM must support a single | ||
| method GetPositionAndVelocity(tjd). This method must take a terrestrial Julian date (like the | ||
| NOVAS-COM methods) as its single parameter, and return an array of Double | ||
| containing the rectangular (x/y/z) heliocentric J2000 equatorial coordinates of position (AU) and velocity | ||
| (KM/sec.). In addition, it must support three read/write properties BodyType, Name, and Number, | ||
| which correspond to the Type, Name, and Number properties of Novas.Planet. | ||
| */ | ||
| public class IEarth{ | ||
|
|
||
| /* | ||
| null | ||
| null | ||
| */ | ||
| private double BarycentricPosition; | ||
| /* | ||
| null | ||
| null | ||
| */ | ||
| private double BarycentricTime; | ||
| /* | ||
| null | ||
| null | ||
| */ | ||
| private double BarycentricVelocity; | ||
| /* | ||
| null | ||
| null | ||
| */ | ||
| private double EarthEphemeris; | ||
| /* | ||
| null | ||
| null | ||
| */ | ||
| private double EquationOfEquinoxes; | ||
| /* | ||
| null | ||
| null | ||
| */ | ||
| private double HeliocentricPosition; | ||
| /* | ||
| null | ||
| null | ||
| */ | ||
| private double HeliocentricVelocity; | ||
| /* | ||
| null | ||
| null | ||
| */ | ||
| private double MeanObliquity; | ||
| /* | ||
| null | ||
| null | ||
| */ | ||
| private double NutationInLongitude; | ||
| /* | ||
| null | ||
| null | ||
| */ | ||
| private double NutationInObliquity; | ||
| /* | ||
| null | ||
| null | ||
| */ | ||
| private double TrueObliquity; | ||
|
|
||
|
|
||
| /* | ||
| Initialize the Earth object for given terrestrial Julian date | ||
| */ | ||
| public void SetForTime(Double){ | ||
| return null; | ||
| } | ||
|
|
||
| /* | ||
| Sets null | ||
| null | ||
| */ | ||
| public void setBarycentricPosition(double _theValue){ | ||
| this.BarycentricPosition=_theValue; | ||
| } | ||
|
|
||
| /* | ||
| Gets null | ||
| null | ||
| */ | ||
| public double getBarycentricPosition(){ | ||
| return BarycentricPosition; | ||
| } | ||
|
|
||
| /* | ||
| Sets null | ||
| null | ||
| */ | ||
| public void setBarycentricTime(double _theValue){ | ||
| this.BarycentricTime=_theValue; | ||
| } | ||
|
|
||
| /* | ||
| Gets null | ||
| null | ||
| */ | ||
| public double getBarycentricTime(){ | ||
| return BarycentricTime; | ||
| } | ||
|
|
||
| /* | ||
| Sets null | ||
| null | ||
| */ | ||
| public void setBarycentricVelocity(double _theValue){ | ||
| this.BarycentricVelocity=_theValue; | ||
| } | ||
|
|
||
| /* | ||
| Gets null | ||
| null | ||
| */ | ||
| public double getBarycentricVelocity(){ | ||
| return BarycentricVelocity; | ||
| } | ||
|
|
||
| /* | ||
| Sets null | ||
| null | ||
| */ | ||
| public void setEarthEphemeris(double _theValue){ | ||
| this.EarthEphemeris=_theValue; | ||
| } | ||
|
|
||
| /* | ||
| Gets null | ||
| null | ||
| */ | ||
| public double getEarthEphemeris(){ | ||
| return EarthEphemeris; | ||
| } | ||
|
|
||
| /* | ||
| Sets null | ||
| null | ||
| */ | ||
| public void setEquationOfEquinoxes(double _theValue){ | ||
| this.EquationOfEquinoxes=_theValue; | ||
| } | ||
|
|
||
| /* | ||
| Gets null | ||
| null | ||
| */ | ||
| public double getEquationOfEquinoxes(){ | ||
| return EquationOfEquinoxes; | ||
| } | ||
|
|
||
| /* | ||
| Sets null | ||
| null | ||
| */ | ||
| public void setHeliocentricPosition(double _theValue){ | ||
| this.HeliocentricPosition=_theValue; | ||
| } | ||
|
|
||
| /* | ||
| Gets null | ||
| null | ||
| */ | ||
| public double getHeliocentricPosition(){ | ||
| return HeliocentricPosition; | ||
| } | ||
|
|
||
| /* | ||
| Sets null | ||
| null | ||
| */ | ||
| public void setHeliocentricVelocity(double _theValue){ | ||
| this.HeliocentricVelocity=_theValue; | ||
| } | ||
|
|
||
| /* | ||
| Gets null | ||
| null | ||
| */ | ||
| public double getHeliocentricVelocity(){ | ||
| return HeliocentricVelocity; | ||
| } | ||
|
|
||
| /* | ||
| Sets null | ||
| null | ||
| */ | ||
| public void setMeanObliquity(double _theValue){ | ||
| this.MeanObliquity=_theValue; | ||
| } | ||
|
|
||
| /* | ||
| Gets null | ||
| null | ||
| */ | ||
| public double getMeanObliquity(){ | ||
| return MeanObliquity; | ||
| } | ||
|
|
||
| /* | ||
| Sets null | ||
| null | ||
| */ | ||
| public void setNutationInLongitude(double _theValue){ | ||
| this.NutationInLongitude=_theValue; | ||
| } | ||
|
|
||
| /* | ||
| Gets null | ||
| null | ||
| */ | ||
| public double getNutationInLongitude(){ | ||
| return NutationInLongitude; | ||
| } | ||
|
|
||
| /* | ||
| Sets null | ||
| null | ||
| */ | ||
| public void setNutationInObliquity(double _theValue){ | ||
| this.NutationInObliquity=_theValue; | ||
| } | ||
|
|
||
| /* | ||
| Gets null | ||
| null | ||
| */ | ||
| public double getNutationInObliquity(){ | ||
| return NutationInObliquity; | ||
| } | ||
|
|
||
| /* | ||
| Sets null | ||
| null | ||
| */ | ||
| public void setTrueObliquity(double _theValue){ | ||
| this.TrueObliquity=_theValue; | ||
| } | ||
|
|
||
| /* | ||
| Gets null | ||
| null | ||
| */ | ||
| public double getTrueObliquity(){ | ||
| return TrueObliquity; | ||
| } | ||
| } |
| @@ -0,0 +1,221 @@ | ||
| package ASCOM.Astrometry.NOVASCOM; | ||
|
|
||
| /* | ||
| Interface to a Planet component that provides characteristics of a solar system body | ||
| Objects of class Planet hold the characteristics of a solar system body. Properties are | ||
| type (major or minor planet), number (for major and numbered minor planets), name (for unnumbered | ||
| minor planets and comets), the ephemeris object to be used for orbital calculations, an optional | ||
| ephemeris object to use for barycenter calculations, and an optional value for delta-T. | ||
| The high-level NOVAS astrometric functions are implemented as methods of Planet: | ||
| GetTopocentricPosition(), GetLocalPosition(), GetApparentPosition(), GetVirtualPosition(), | ||
| and GetAstrometricPosition(). These methods operate on the properties of the Planet, and produce | ||
| a PositionVector object. For example, to get the topocentric coordinates of a planet, create and | ||
| initialize a planet, create initialize and attach an ephemeris object, then call | ||
| Planet.GetTopocentricPosition(). The resulting PositionVector's right ascension and declination | ||
| properties are the topocentric equatorial coordinates, at the same time, the (optionally | ||
| refracted) alt-az coordinates are calculated, and are also contained within the returned | ||
| PositionVector. Note that Alt/Az is available in PositionVectors returned from calling | ||
| GetTopocentricPosition(). The accuracy of these calculations is typically dominated by the accuracy | ||
| of the attached ephemeris generator. | ||
| Ephemeris Generator | ||
| By default, Kepler instances are attached for both Earth and Planet objects so it is | ||
| not necessary to create and attach these in order to get Kepler accuracy from this | ||
| component | ||
| The ephemeris generator object used with NOVAS-COM must support a single | ||
| method GetPositionAndVelocity(tjd). This method must take a terrestrial Julian date (like the | ||
| NOVAS-COM methods) as its single parameter, and return an array of Double | ||
| containing the rectangular (x/y/z) heliocentric J2000 equatorial coordinates of position (AU) and velocity | ||
| (KM/sec.). In addition, it must support three read/write properties BodyType, Name, and Number, | ||
| which correspond to the Type, Name, and Number properties of Novas.Planet. | ||
| */ | ||
| public class IPlanet{ | ||
|
|
||
| /* | ||
| null | ||
| null | ||
| */ | ||
| private double DeltaT; | ||
| /* | ||
| null | ||
| null | ||
| */ | ||
| private double EarthEphemeris; | ||
| /* | ||
| null | ||
| null | ||
| */ | ||
| private double Ephemeris; | ||
| /* | ||
| null | ||
| null | ||
| */ | ||
| private double Name; | ||
| /* | ||
| null | ||
| null | ||
| */ | ||
| private double Number; | ||
| /* | ||
| null | ||
| null | ||
| */ | ||
| private double Type; | ||
|
|
||
|
|
||
| /* | ||
| Get an apparent position for given time | ||
| */ | ||
| public void GetApparentPosition(Double){ | ||
| return null; | ||
| } | ||
|
|
||
|
|
||
| /* | ||
| Get an astrometric position for given time | ||
| */ | ||
| public void GetAstrometricPosition(Double){ | ||
| return null; | ||
| } | ||
|
|
||
|
|
||
| /* | ||
| Get an local position for given time | ||
| */ | ||
| public void GetLocalPosition(Double,ASCOM.Astrometry.NOVASCOM.Site){ | ||
| return null; | ||
| } | ||
|
|
||
|
|
||
| /* | ||
| Get a topocentric position for given time | ||
| */ | ||
| public void GetTopocentricPosition(Double,ASCOM.Astrometry.NOVASCOM.Site,Boolean){ | ||
| return null; | ||
| } | ||
|
|
||
|
|
||
| /* | ||
| Get a virtual position for given time | ||
| */ | ||
| public void GetVirtualPosition(Double){ | ||
| return null; | ||
| } | ||
|
|
||
| /* | ||
| Sets null | ||
| null | ||
| */ | ||
| public void setDeltaT(double _theValue){ | ||
| this.DeltaT=_theValue; | ||
| } | ||
|
|
||
| /* | ||
| Gets null | ||
| null | ||
| */ | ||
| public double getDeltaT(){ | ||
| return DeltaT; | ||
| } | ||
|
|
||
| /* | ||
| Sets null | ||
| null | ||
| */ | ||
| public void setEarthEphemeris(double _theValue){ | ||
| this.EarthEphemeris=_theValue; | ||
| } | ||
|
|
||
| /* | ||
| Gets null | ||
| null | ||
| */ | ||
| public double getEarthEphemeris(){ | ||
| return EarthEphemeris; | ||
| } | ||
|
|
||
| /* | ||
| Sets null | ||
| null | ||
| */ | ||
| public void setEphemeris(double _theValue){ | ||
| this.Ephemeris=_theValue; | ||
| } | ||
|
|
||
| /* | ||
| Gets null | ||
| null | ||
| */ | ||
| public double getEphemeris(){ | ||
| return Ephemeris; | ||
| } | ||
|
|
||
| /* | ||
| Sets null | ||
| null | ||
| */ | ||
| public void setName(double _theValue){ | ||
| this.Name=_theValue; | ||
| } | ||
|
|
||
| /* | ||
| Gets null | ||
| null | ||
| */ | ||
| public double getName(){ | ||
| return Name; | ||
| } | ||
|
|
||
| /* | ||
| Sets null | ||
| null | ||
| */ | ||
| public void setNumber(double _theValue){ | ||
| this.Number=_theValue; | ||
| } | ||
|
|
||
| /* | ||
| Gets null | ||
| null | ||
| */ | ||
| public double getNumber(){ | ||
| return Number; | ||
| } | ||
|
|
||
| /* | ||
| Sets null | ||
| null | ||
| */ | ||
| public void setType(double _theValue){ | ||
| this.Type=_theValue; | ||
| } | ||
|
|
||
| /* | ||
| Gets null | ||
| null | ||
| */ | ||
| public double getType(){ | ||
| return Type; | ||
| } | ||
| } |
| @@ -0,0 +1,281 @@ | ||
| package ASCOM.Astrometry.NOVASCOM; | ||
|
|
||
| /* | ||
| Interface to the NOVAS-COM PositionVector Class | ||
| Objects of class PositionVector contain vectors used for positions (earth, sites, | ||
| stars and planets) throughout NOVAS-COM. Of course, its properties include the x, y, and z | ||
| components of the position. Additional properties are right ascension and declination, distance, | ||
| and light time (applicable to star positions), and Alt/Az (available only in PositionVectors | ||
| returned by Star or Planet methods GetTopocentricPosition()). You can initialize a PositionVector | ||
| from a Star object (essentially an FK5 or HIP catalog entry) or a Site (lat/long/height). | ||
| PositionVector has methods that can adjust the coordinates for precession, aberration and | ||
| proper motion. Thus, a PositionVector object gives access to some of the lower-level NOVAS functions. | ||
| Note: The equatorial coordinate properties of this object are dependent variables, and thus are read-only. Changing any cartesian coordinate will cause the equatorial coordinates to be recalculated. | ||
| */ | ||
| public class IPositionVector{ | ||
|
|
||
| /* | ||
| null | ||
| null | ||
| */ | ||
| private double Azimuth; | ||
| /* | ||
| null | ||
| null | ||
| */ | ||
| private double Declination; | ||
| /* | ||
| null | ||
| null | ||
| */ | ||
| private double Distance; | ||
| /* | ||
| null | ||
| null | ||
| */ | ||
| private double Elevation; | ||
| /* | ||
| null | ||
| null | ||
| */ | ||
| private double LightTime; | ||
| /* | ||
| null | ||
| null | ||
| */ | ||
| private double RightAscension; | ||
| /* | ||
| null | ||
| null | ||
| */ | ||
| private double x; | ||
| /* | ||
| null | ||
| null | ||
| */ | ||
| private double y; | ||
| /* | ||
| null | ||
| null | ||
| */ | ||
| private double z; | ||
|
|
||
|
|
||
| /* | ||
| Adjust the position vector of an object for aberration of light | ||
| The algorithm includes relativistic terms | ||
| */ | ||
| public void Aberration(ASCOM.Astrometry.NOVASCOM.VelocityVector){ | ||
| return null; | ||
| } | ||
|
|
||
|
|
||
| /* | ||
| Adjust the position vector for precession of equinoxes between two given epochs | ||
| The coordinates are referred to the mean equator and equinox of the two respective epochs. | ||
| */ | ||
| public void Precess(Double,Double){ | ||
| return null; | ||
| } | ||
|
|
||
|
|
||
| /* | ||
| Adjust the position vector for proper motion (including foreshortening effects) | ||
| */ | ||
| public void ProperMotion(ASCOM.Astrometry.NOVASCOM.VelocityVector,Double,Double){ | ||
| return null; | ||
| } | ||
|
|
||
|
|
||
| /* | ||
| Initialize the PositionVector from a Site object and Greenwich apparent sidereal time. | ||
| The GAST parameter must be for Greenwich, not local. The time is rotated through the | ||
| site longitude. See SetFromSiteJD() for an equivalent method that takes UTC Julian Date and | ||
| Delta-T (eliminating the need for calculating hyper-accurate GAST yourself). | ||
| */ | ||
| public void SetFromSite(ASCOM.Astrometry.NOVASCOM.Site,Double){ | ||
| return null; | ||
| } | ||
|
|
||
|
|
||
| /* | ||
| Initialize the PositionVector from a Site object using UTC Julian date and Delta-T | ||
| The Julian date must be UTC Julian date, not terrestrial. | ||
| */ | ||
| public void SetFromSiteJD(ASCOM.Astrometry.NOVASCOM.Site,Double,Double){ | ||
| return null; | ||
| } | ||
|
|
||
|
|
||
| /* | ||
| Initialize the PositionVector from a Star object. | ||
| */ | ||
| public void SetFromStar(ASCOM.Astrometry.NOVASCOM.Star){ | ||
| return null; | ||
| } | ||
|
|
||
| /* | ||
| Sets null | ||
| null | ||
| */ | ||
| public void setAzimuth(double _theValue){ | ||
| this.Azimuth=_theValue; | ||
| } | ||
|
|
||
| /* | ||
| Gets null | ||
| null | ||
| */ | ||
| public double getAzimuth(){ | ||
| return Azimuth; | ||
| } | ||
|
|
||
| /* | ||
| Sets null | ||
| null | ||
| */ | ||
| public void setDeclination(double _theValue){ | ||
| this.Declination=_theValue; | ||
| } | ||
|
|
||
| /* | ||
| Gets null | ||
| null | ||
| */ | ||
| public double getDeclination(){ | ||
| return Declination; | ||
| } | ||
|
|
||
| /* | ||
| Sets null | ||
| null | ||
| */ | ||
| public void setDistance(double _theValue){ | ||
| this.Distance=_theValue; | ||
| } | ||
|
|
||
| /* | ||
| Gets null | ||
| null | ||
| */ | ||
| public double getDistance(){ | ||
| return Distance; | ||
| } | ||
|
|
||
| /* | ||
| Sets null | ||
| null | ||
| */ | ||
| public void setElevation(double _theValue){ | ||
| this.Elevation=_theValue; | ||
| } | ||
|
|
||
| /* | ||
| Gets null | ||
| null | ||
| */ | ||
| public double getElevation(){ | ||
| return Elevation; | ||
| } | ||
|
|
||
| /* | ||
| Sets null | ||
| null | ||
| */ | ||
| public void setLightTime(double _theValue){ | ||
| this.LightTime=_theValue; | ||
| } | ||
|
|
||
| /* | ||
| Gets null | ||
| null | ||
| */ | ||
| public double getLightTime(){ | ||
| return LightTime; | ||
| } | ||
|
|
||
| /* | ||
| Sets null | ||
| null | ||
| */ | ||
| public void setRightAscension(double _theValue){ | ||
| this.RightAscension=_theValue; | ||
| } | ||
|
|
||
| /* | ||
| Gets null | ||
| null | ||
| */ | ||
| public double getRightAscension(){ | ||
| return RightAscension; | ||
| } | ||
|
|
||
| /* | ||
| Sets null | ||
| null | ||
| */ | ||
| public void setX(double _theValue){ | ||
| this.x=_theValue; | ||
| } | ||
|
|
||
| /* | ||
| Gets null | ||
| null | ||
| */ | ||
| public double getX(){ | ||
| return x; | ||
| } | ||
|
|
||
| /* | ||
| Sets null | ||
| null | ||
| */ | ||
| public void setY(double _theValue){ | ||
| this.y=_theValue; | ||
| } | ||
|
|
||
| /* | ||
| Gets null | ||
| null | ||
| */ | ||
| public double getY(){ | ||
| return y; | ||
| } | ||
|
|
||
| /* | ||
| Sets null | ||
| null | ||
| */ | ||
| public void setZ(double _theValue){ | ||
| this.z=_theValue; | ||
| } | ||
|
|
||
| /* | ||
| Gets null | ||
| null | ||
| */ | ||
| public double getZ(){ | ||
| return z; | ||
| } | ||
| } |
| @@ -0,0 +1,28 @@ | ||
| package ASCOM.Astrometry.NOVASCOM; | ||
|
|
||
| /* | ||
| Interface for PositionVector methods that are only accessible through .NET and not through COM | ||
| */ | ||
| public class IPositionVectorExtra{ | ||
|
|
||
|
|
||
|
|
||
| /* | ||
| Initialize the PositionVector from a Site object using UTC Julian date | ||
| The Julian date must be UTC Julian date, not terrestrial. Calculations will use the internal delta-T tables and estimator to get | ||
| delta-T. | ||
| This overload is not available through COM, please use | ||
| "SetFromSiteJD(ByVal site As Site, ByVal ujd As Double, ByVal delta_t As Double)" | ||
| with delta_t set to 0.0 to achieve this effect. | ||
| */ | ||
| public void SetFromSiteJD(ASCOM.Astrometry.NOVASCOM.Site,Double){ | ||
| return null; | ||
| } | ||
| } |
| @@ -0,0 +1,131 @@ | ||
| package ASCOM.Astrometry.NOVASCOM; | ||
|
|
||
| /* | ||
| Interface to the NOVAS-COM Site Class | ||
| Objects of class Site contain the specifications for an observer's location on the Earth | ||
| ellipsoid. Properties are latitude, longitude, height above mean sea level, the ambient temperature | ||
| and the sea-level barmetric pressure. The latter two are used only for optional refraction corrections. | ||
| Latitude and longitude are (common) geodetic, not geocentric. | ||
| */ | ||
| public class ISite{ | ||
|
|
||
| /* | ||
| null | ||
| null | ||
| */ | ||
| private double Height; | ||
| /* | ||
| null | ||
| null | ||
| */ | ||
| private double Latitude; | ||
| /* | ||
| null | ||
| null | ||
| */ | ||
| private double Longitude; | ||
| /* | ||
| null | ||
| null | ||
| */ | ||
| private double Pressure; | ||
| /* | ||
| null | ||
| null | ||
| */ | ||
| private double Temperature; | ||
|
|
||
|
|
||
| /* | ||
| Set all site properties in one method call | ||
| */ | ||
| public void Set(Double,Double,Double){ | ||
| return null; | ||
| } | ||
|
|
||
| /* | ||
| Sets null | ||
| null | ||
| */ | ||
| public void setHeight(double _theValue){ | ||
| this.Height=_theValue; | ||
| } | ||
|
|
||
| /* | ||
| Gets null | ||
| null | ||
| */ | ||
| public double getHeight(){ | ||
| return Height; | ||
| } | ||
|
|
||
| /* | ||
| Sets null | ||
| null | ||
| */ | ||
| public void setLatitude(double _theValue){ | ||
| this.Latitude=_theValue; | ||
| } | ||
|
|
||
| /* | ||
| Gets null | ||
| null | ||
| */ | ||
| public double getLatitude(){ | ||
| return Latitude; | ||
| } | ||
|
|
||
| /* | ||
| Sets null | ||
| null | ||
| */ | ||
| public void setLongitude(double _theValue){ | ||
| this.Longitude=_theValue; | ||
| } | ||
|
|
||
| /* | ||
| Gets null | ||
| null | ||
| */ | ||
| public double getLongitude(){ | ||
| return Longitude; | ||
| } | ||
|
|
||
| /* | ||
| Sets null | ||
| null | ||
| */ | ||
| public void setPressure(double _theValue){ | ||
| this.Pressure=_theValue; | ||
| } | ||
|
|
||
| /* | ||
| Gets null | ||
| null | ||
| */ | ||
| public double getPressure(){ | ||
| return Pressure; | ||
| } | ||
|
|
||
| /* | ||
| Sets null | ||
| null | ||
| */ | ||
| public void setTemperature(double _theValue){ | ||
| this.Temperature=_theValue; | ||
| } | ||
|
|
||
| /* | ||
| Gets null | ||
| null | ||
| */ | ||
| public double getTemperature(){ | ||
| return Temperature; | ||
| } | ||
| } |
| @@ -0,0 +1,335 @@ | ||
| package ASCOM.Astrometry.NOVASCOM; | ||
|
|
||
| /* | ||
| Interface to the NOVAS-COM Star Class | ||
| Objects of class Site contain the specifications for a star's catalog position in either FK5 or Hipparcos units (both must be J2000). Properties are right ascension and declination, proper motions, parallax, radial velocity, catalog type (FK5 or HIP), catalog number, optional ephemeris engine to use for barycenter calculations, and an optional value for delta-T. Unless you specifically set the DeltaT property, calculations performed by this class which require the value of delta-T (TT - UT1) rely on an internal function to estimate delta-T. | ||
| The high-level NOVAS astrometric functions are implemented as methods of Star: | ||
| GetTopocentricPosition(), GetLocalPosition(), GetApparentPosition(), GetVirtualPosition(), | ||
| and GetAstrometricPosition(). These methods operate on the properties of the Star, and produce | ||
| a PositionVector object. For example, to get the topocentric coordinates of a star, simply create | ||
| and initialize a Star, then call Star.GetTopocentricPosition(). The resulting vaPositionVector's | ||
| right ascension and declination properties are the topocentric equatorial coordinates, at the same | ||
| time, the (optionally refracted) alt-az coordinates are calculated, and are also contained within | ||
| the returned PositionVector. Note that Alt/Az is available in PositionVectors returned from calling | ||
| GetTopocentricPosition(). | ||
| */ | ||
| public class IStar{ | ||
|
|
||
| /* | ||
| null | ||
| null | ||
| */ | ||
| private double Catalog; | ||
| /* | ||
| null | ||
| null | ||
| */ | ||
| private double Declination; | ||
| /* | ||
| null | ||
| null | ||
| */ | ||
| private double DeltaT; | ||
| /* | ||
| null | ||
| null | ||
| */ | ||
| private double EarthEphemeris; | ||
| /* | ||
| null | ||
| null | ||
| */ | ||
| private double Name; | ||
| /* | ||
| null | ||
| null | ||
| */ | ||
| private double Number; | ||
| /* | ||
| null | ||
| null | ||
| */ | ||
| private double Parallax; | ||
| /* | ||
| null | ||
| null | ||
| */ | ||
| private double ProperMotionDec; | ||
| /* | ||
| null | ||
| null | ||
| */ | ||
| private double ProperMotionRA; | ||
| /* | ||
| null | ||
| null | ||
| */ | ||
| private double RadialVelocity; | ||
| /* | ||
| null | ||
| null | ||
| */ | ||
| private double RightAscension; | ||
|
|
||
|
|
||
| /* | ||
| Initialize all star properties with one call | ||
| Assumes positions are FK5. If Parallax is set to zero, NOVAS-COM assumes the object | ||
| is on the "celestial sphere", which has a distance of 10 megaparsecs. | ||
| */ | ||
| public void Set(Double,Double,Double,Double,Double,Double){ | ||
| return null; | ||
| } | ||
|
|
||
|
|
||
| /* | ||
| Initialise all star properties in one call using Hipparcos data. Transforms to FK5 standard used by NOVAS. | ||
| Assumes positions are Hipparcos standard and transforms to FK5 standard used by NOVAS. | ||
| If Parallax is set to zero, NOVAS-COM assumes the object is on the "celestial sphere", | ||
| which has a distance of 10 megaparsecs. | ||
| */ | ||
| public void SetHipparcos(Double,Double,Double,Double,Double,Double){ | ||
| return null; | ||
| } | ||
|
|
||
|
|
||
| /* | ||
| Get an apparent position for a given time | ||
| */ | ||
| public void GetApparentPosition(Double){ | ||
| return null; | ||
| } | ||
|
|
||
|
|
||
| /* | ||
| Get an astrometric position for a given time | ||
| */ | ||
| public void GetAstrometricPosition(Double){ | ||
| return null; | ||
| } | ||
|
|
||
|
|
||
| /* | ||
| Get a local position for a given site and time | ||
| */ | ||
| public void GetLocalPosition(Double,ASCOM.Astrometry.NOVASCOM.Site){ | ||
| return null; | ||
| } | ||
|
|
||
|
|
||
| /* | ||
| Get a topocentric position for a given site and time | ||
| */ | ||
| public void GetTopocentricPosition(Double,ASCOM.Astrometry.NOVASCOM.Site,Boolean){ | ||
| return null; | ||
| } | ||
|
|
||
|
|
||
| /* | ||
| Get a virtual position at a given time | ||
| */ | ||
| public void GetVirtualPosition(Double){ | ||
| return null; | ||
| } | ||
|
|
||
| /* | ||
| Sets null | ||
| null | ||
| */ | ||
| public void setCatalog(double _theValue){ | ||
| this.Catalog=_theValue; | ||
| } | ||
|
|
||
| /* | ||
| Gets null | ||
| null | ||
| */ | ||
| public double getCatalog(){ | ||
| return Catalog; | ||
| } | ||
|
|
||
| /* | ||
| Sets null | ||
| null | ||
| */ | ||
| public void setDeclination(double _theValue){ | ||
| this.Declination=_theValue; | ||
| } | ||
|
|
||
| /* | ||
| Gets null | ||
| null | ||
| */ | ||
| public double getDeclination(){ | ||
| return Declination; | ||
| } | ||
|
|
||
| /* | ||
| Sets null | ||
| null | ||
| */ | ||
| public void setDeltaT(double _theValue){ | ||
| this.DeltaT=_theValue; | ||
| } | ||
|
|
||
| /* | ||
| Gets null | ||
| null | ||
| */ | ||
| public double getDeltaT(){ | ||
| return DeltaT; | ||
| } | ||
|
|
||
| /* | ||
| Sets null | ||
| null | ||
| */ | ||
| public void setEarthEphemeris(double _theValue){ | ||
| this.EarthEphemeris=_theValue; | ||
| } | ||
|
|
||
| /* | ||
| Gets null | ||
| null | ||
| */ | ||
| public double getEarthEphemeris(){ | ||
| return EarthEphemeris; | ||
| } | ||
|
|
||
| /* | ||
| Sets null | ||
| null | ||
| */ | ||
| public void setName(double _theValue){ | ||
| this.Name=_theValue; | ||
| } | ||
|
|
||
| /* | ||
| Gets null | ||
| null | ||
| */ | ||
| public double getName(){ | ||
| return Name; | ||
| } | ||
|
|
||
| /* | ||
| Sets null | ||
| null | ||
| */ | ||
| public void setNumber(double _theValue){ | ||
| this.Number=_theValue; | ||
| } | ||
|
|
||
| /* | ||
| Gets null | ||
| null | ||
| */ | ||
| public double getNumber(){ | ||
| return Number; | ||
| } | ||
|
|
||
| /* | ||
| Sets null | ||
| null | ||
| */ | ||
| public void setParallax(double _theValue){ | ||
| this.Parallax=_theValue; | ||
| } | ||
|
|
||
| /* | ||
| Gets null | ||
| null | ||
| */ | ||
| public double getParallax(){ | ||
| return Parallax; | ||
| } | ||
|
|
||
| /* | ||
| Sets null | ||
| null | ||
| */ | ||
| public void setProperMotionDec(double _theValue){ | ||
| this.ProperMotionDec=_theValue; | ||
| } | ||
|
|
||
| /* | ||
| Gets null | ||
| null | ||
| */ | ||
| public double getProperMotionDec(){ | ||
| return ProperMotionDec; | ||
| } | ||
|
|
||
| /* | ||
| Sets null | ||
| null | ||
| */ | ||
| public void setProperMotionRA(double _theValue){ | ||
| this.ProperMotionRA=_theValue; | ||
| } | ||
|
|
||
| /* | ||
| Gets null | ||
| null | ||
| */ | ||
| public double getProperMotionRA(){ | ||
| return ProperMotionRA; | ||
| } | ||
|
|
||
| /* | ||
| Sets null | ||
| null | ||
| */ | ||
| public void setRadialVelocity(double _theValue){ | ||
| this.RadialVelocity=_theValue; | ||
| } | ||
|
|
||
| /* | ||
| Gets null | ||
| null | ||
| */ | ||
| public double getRadialVelocity(){ | ||
| return RadialVelocity; | ||
| } | ||
|
|
||
| /* | ||
| Sets null | ||
| null | ||
| */ | ||
| public void setRightAscension(double _theValue){ | ||
| this.RightAscension=_theValue; | ||
| } | ||
|
|
||
| /* | ||
| Gets null | ||
| null | ||
| */ | ||
| public double getRightAscension(){ | ||
| return RightAscension; | ||
| } | ||
| } |
| @@ -0,0 +1,181 @@ | ||
| package ASCOM.Astrometry.NOVASCOM; | ||
|
|
||
| /* | ||
| interface to the NOVAS_COM VelocityVector Class | ||
| Objects of class VelocityVector contain vectors used for velocities (earth, sites, | ||
| planets, and stars) throughout NOVAS-COM. Of course, its properties include the x, y, and z | ||
| components of the velocity. Additional properties are the velocity in equatorial coordinates of | ||
| right ascension dot, declination dot and radial velocity. You can initialize a PositionVector from | ||
| a Star object (essentially an FK5 or HIP catalog entry) or a Site (lat/long/height). For the star | ||
| object the proper motions, distance and radial velocity are used, for a site, the velocity is that | ||
| of the observer with respect to the Earth's center of mass. | ||
| */ | ||
| public class IVelocityVector{ | ||
|
|
||
| /* | ||
| null | ||
| null | ||
| */ | ||
| private double DecVelocity; | ||
| /* | ||
| null | ||
| null | ||
| */ | ||
| private double RadialVelocity; | ||
| /* | ||
| null | ||
| null | ||
| */ | ||
| private double RAVelocity; | ||
| /* | ||
| null | ||
| null | ||
| */ | ||
| private double x; | ||
| /* | ||
| null | ||
| null | ||
| */ | ||
| private double y; | ||
| /* | ||
| null | ||
| null | ||
| */ | ||
| private double z; | ||
|
|
||
|
|
||
| /* | ||
| Initialize the VelocityVector from a Site object and Greenwich Apparent Sdereal Time. | ||
| The velocity vector is that of the observer with respect to the Earth's center | ||
| of mass. The GAST parameter must be for Greenwich, not local. The time is rotated through | ||
| the site longitude. See SetFromSiteJD() for an equivalent method that takes UTC Julian | ||
| Date and optionally Delta-T (eliminating the need for calculating hyper-accurate GAST yourself). | ||
| */ | ||
| public void SetFromSite(ASCOM.Astrometry.NOVASCOM.Site,Double){ | ||
| return null; | ||
| } | ||
|
|
||
|
|
||
| /* | ||
| Initialize the VelocityVector from a Site object using UTC Julian Date and Delta-T | ||
| The velocity vector is that of the observer with respect to the Earth's center | ||
| of mass. The Julian date must be UTC Julian date, not terrestrial. | ||
| */ | ||
| public void SetFromSiteJD(ASCOM.Astrometry.NOVASCOM.Site,Double,Double){ | ||
| return null; | ||
| } | ||
|
|
||
|
|
||
| /* | ||
| Initialize the VelocityVector from a Star object. | ||
| The proper motions, distance and radial velocity are used in the velocity calculation. | ||
| */ | ||
| public void SetFromStar(ASCOM.Astrometry.NOVASCOM.Star){ | ||
| return null; | ||
| } | ||
|
|
||
| /* | ||
| Sets null | ||
| null | ||
| */ | ||
| public void setDecVelocity(double _theValue){ | ||
| this.DecVelocity=_theValue; | ||
| } | ||
|
|
||
| /* | ||
| Gets null | ||
| null | ||
| */ | ||
| public double getDecVelocity(){ | ||
| return DecVelocity; | ||
| } | ||
|
|
||
| /* | ||
| Sets null | ||
| null | ||
| */ | ||
| public void setRadialVelocity(double _theValue){ | ||
| this.RadialVelocity=_theValue; | ||
| } | ||
|
|
||
| /* | ||
| Gets null | ||
| null | ||
| */ | ||
| public double getRadialVelocity(){ | ||
| return RadialVelocity; | ||
| } | ||
|
|
||
| /* | ||
| Sets null | ||
| null | ||
| */ | ||
| public void setRAVelocity(double _theValue){ | ||
| this.RAVelocity=_theValue; | ||
| } | ||
|
|
||
| /* | ||
| Gets null | ||
| null | ||
| */ | ||
| public double getRAVelocity(){ | ||
| return RAVelocity; | ||
| } | ||
|
|
||
| /* | ||
| Sets null | ||
| null | ||
| */ | ||
| public void setX(double _theValue){ | ||
| this.x=_theValue; | ||
| } | ||
|
|
||
| /* | ||
| Gets null | ||
| null | ||
| */ | ||
| public double getX(){ | ||
| return x; | ||
| } | ||
|
|
||
| /* | ||
| Sets null | ||
| null | ||
| */ | ||
| public void setY(double _theValue){ | ||
| this.y=_theValue; | ||
| } | ||
|
|
||
| /* | ||
| Gets null | ||
| null | ||
| */ | ||
| public double getY(){ | ||
| return y; | ||
| } | ||
|
|
||
| /* | ||
| Sets null | ||
| null | ||
| */ | ||
| public void setZ(double _theValue){ | ||
| this.z=_theValue; | ||
| } | ||
|
|
||
| /* | ||
| Gets null | ||
| null | ||
| */ | ||
| public double getZ(){ | ||
| return z; | ||
| } | ||
| } |
| @@ -0,0 +1,29 @@ | ||
| package ASCOM.Astrometry.NOVASCOM; | ||
|
|
||
| /* | ||
| Interface for VelocityVector methods that are only accessible through .NET and not through COM | ||
| */ | ||
| public class IVelocityVectorExtra{ | ||
|
|
||
|
|
||
|
|
||
| /* | ||
| Initialize the VelocityVector from a Site object using UTC Julian Date | ||
| The velocity vector is that of the observer with respect to the Earth's center | ||
| of mass. The Julian date must be UTC Julian date, not terrestrial. This call will use | ||
| the internal tables and estimator to get delta-T. | ||
| This overload is not available through COM, please use | ||
| "SetFromSiteJD(ByVal site As Site, ByVal ujd As Double, ByVal delta_t As Double)" | ||
| with delta_t set to 0.0 to achieve this effect. | ||
| */ | ||
| public void SetFromSiteJD(ASCOM.Astrometry.NOVASCOM.Site,Double){ | ||
| return null; | ||
| } | ||
| } |
| @@ -0,0 +1,237 @@ | ||
| package ASCOM.Astrometry.NOVASCOM; | ||
|
|
||
| /* | ||
| NOVAS-COM: Provide characteristics of a solar system body | ||
| NOVAS-COM objects of class Planet hold the characteristics of a solar system body. Properties are | ||
| type (major or minor planet), number (for major and numbered minor planets), name (for unnumbered | ||
| minor planets and comets), the ephemeris object to be used for orbital calculations, an optional | ||
| ephemeris object to use for barycenter calculations, and an optional value for delta-T. | ||
| The number values for major planets are 1 to 9 for Mercury to Pluto, 10 for Sun and 11 for Moon. The last two obviously | ||
| aren't planets, but this numbering is a NOVAS convention that enables us to retrieve useful information about these bodies. | ||
| The high-level NOVAS astrometric functions are implemented as methods of Planet: | ||
| GetTopocentricPosition(), GetLocalPosition(), GetApparentPosition(), GetVirtualPosition(), | ||
| and GetAstrometricPosition(). These methods operate on the properties of the Planet, and produce | ||
| a PositionVector object. For example, to get the topocentric coordinates of a planet, create and | ||
| initialize a planet then call | ||
| Planet.GetTopocentricPosition(). The resulting PositionVector's right ascension and declination | ||
| properties are the topocentric equatorial coordinates, at the same time, the (optionally | ||
| refracted) alt-az coordinates are calculated, and are also contained within the returned | ||
| PositionVector. Note that Alt/Az is available in PositionVectors returned from calling | ||
| GetTopocentricPosition(). The accuracy of these calculations is typically dominated by the accuracy | ||
| of the attached ephemeris generator. | ||
| Ephemeris Generator | ||
| By default, Kepler instances are attached for both Earth and Planet objects so it is | ||
| not necessary to create and attach these in order to get Kepler accuracy from this | ||
| component | ||
| The ephemeris generator object used with NOVAS-COM must support a single | ||
| method GetPositionAndVelocity(tjd). This method must take a terrestrial Julian date (like the | ||
| NOVAS-COM methods) as its single parameter, and return an array of Double | ||
| containing the rectangular (x/y/z) heliocentric J2000 equatorial coordinates of position (AU) and velocity | ||
| (KM/sec.). In addition, it must support three read/write properties BodyType, Name, and Number, | ||
| which correspond to the Type, Name, and Number properties of Novas.Planet. | ||
| */ | ||
| public class Planet{ | ||
|
|
||
| /* | ||
| null | ||
| null | ||
| */ | ||
| private double DeltaT; | ||
| /* | ||
| null | ||
| null | ||
| */ | ||
| private double EarthEphemeris; | ||
| /* | ||
| null | ||
| null | ||
| */ | ||
| private double Ephemeris; | ||
| /* | ||
| null | ||
| null | ||
| */ | ||
| private double Name; | ||
| /* | ||
| null | ||
| null | ||
| */ | ||
| private double Number; | ||
| /* | ||
| null | ||
| null | ||
| */ | ||
| private double Type; | ||
|
|
||
|
|
||
| /* | ||
| Create a new instance of the Plant class | ||
| This assigns default Kepler instances for the Earth and Planet objects so it is | ||
| not necessary to create and attach Kepler objects in order to get Kepler accuracy from this | ||
| component | ||
| */ | ||
| public void Planet(){ | ||
| return null; | ||
| } | ||
|
|
||
|
|
||
| /* | ||
| Get an apparent position for given time | ||
| */ | ||
| public void GetApparentPosition(Double){ | ||
| return null; | ||
| } | ||
|
|
||
|
|
||
| /* | ||
| Get an astrometric position for given time | ||
| */ | ||
| public void GetAstrometricPosition(Double){ | ||
| return null; | ||
| } | ||
|
|
||
|
|
||
| /* | ||
| Get an local position for given time | ||
| */ | ||
| public void GetLocalPosition(Double,ASCOM.Astrometry.NOVASCOM.Site){ | ||
| return null; | ||
| } | ||
|
|
||
|
|
||
| /* | ||
| Get a topocentric position for given time | ||
| */ | ||
| public void GetTopocentricPosition(Double,ASCOM.Astrometry.NOVASCOM.Site,Boolean){ | ||
| return null; | ||
| } | ||
|
|
||
|
|
||
| /* | ||
| Get a virtual position for given time | ||
| */ | ||
| public void GetVirtualPosition(Double){ | ||
| return null; | ||
| } | ||
|
|
||
| /* | ||
| Sets null | ||
| null | ||
| */ | ||
| public void setDeltaT(double _theValue){ | ||
| this.DeltaT=_theValue; | ||
| } | ||
|
|
||
| /* | ||
| Gets null | ||
| null | ||
| */ | ||
| public double getDeltaT(){ | ||
| return DeltaT; | ||
| } | ||
|
|
||
| /* | ||
| Sets null | ||
| null | ||
| */ | ||
| public void setEarthEphemeris(double _theValue){ | ||
| this.EarthEphemeris=_theValue; | ||
| } | ||
|
|
||
| /* | ||
| Gets null | ||
| null | ||
| */ | ||
| public double getEarthEphemeris(){ | ||
| return EarthEphemeris; | ||
| } | ||
|
|
||
| /* | ||
| Sets null | ||
| null | ||
| */ | ||
| public void setEphemeris(double _theValue){ | ||
| this.Ephemeris=_theValue; | ||
| } | ||
|
|
||
| /* | ||
| Gets null | ||
| null | ||
| */ | ||
| public double getEphemeris(){ | ||
| return Ephemeris; | ||
| } | ||
|
|
||
| /* | ||
| Sets null | ||
| null | ||
| */ | ||
| public void setName(double _theValue){ | ||
| this.Name=_theValue; | ||
| } | ||
|
|
||
| /* | ||
| Gets null | ||
| null | ||
| */ | ||
| public double getName(){ | ||
| return Name; | ||
| } | ||
|
|
||
| /* | ||
| Sets null | ||
| null | ||
| */ | ||
| public void setNumber(double _theValue){ | ||
| this.Number=_theValue; | ||
| } | ||
|
|
||
| /* | ||
| Gets null | ||
| null | ||
| */ | ||
| public double getNumber(){ | ||
| return Number; | ||
| } | ||
|
|
||
| /* | ||
| Sets null | ||
| null | ||
| */ | ||
| public void setType(double _theValue){ | ||
| this.Type=_theValue; | ||
| } | ||
|
|
||
| /* | ||
| Gets null | ||
| null | ||
| */ | ||
| public double getType(){ | ||
| return Type; | ||
| } | ||
| } |