Initialize the PositionVector from a Site object using UTC Julian date

Namespace: ASCOM.Astrometry.NOVASCOM
Assembly: ASCOM.Astrometry (in ASCOM.Astrometry.dll) Version: (


bool SetFromSiteJD(
	Site site,
	double ujd
Visual Basic
Function SetFromSiteJD ( _
	site As Site, _
	ujd As Double _
) As Boolean
Visual C++
bool SetFromSiteJD(
	Site^ site, 
	double ujd


Type: ASCOM.Astrometry.NOVASCOM..::..Site
The Site object from which to initialize
Type: System..::..Double
UTC Julian Date

Return Value

True if successful or throws an exception


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.

See Also