Initialize the VelocityVector 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 OK otherwise throws an exception

Remarks

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.

See Also