Initialize the PositionVector from a Site object using UTC Julian date

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

Syntax

C#
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
)

Parameters

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

Return Value

True if successful or throws an exception

Remarks

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