VelocityVector.SetFromSite Method
Click or drag to resize
VelocityVectorSetFromSite Method
Initialize the VelocityVector from a Site object and Greenwich Apparent Sdereal Time.

Namespace: ASCOM.Astrometry.NOVASCOM
Assembly: ASCOM.Astrometry (in ASCOM.Astrometry.dll) Version: (
public bool SetFromSite(
	Site site,
	double gast


Type: ASCOM.Astrometry.NOVASCOMSite
The Site object from which to initialize
Type: SystemDouble
Greenwich Apparent Sidereal Time

Return Value

Type: Boolean
True if OK or throws an exception
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).
See Also