Click or drag to resize

PositionVectorSetFromSite Method

Initialize the PositionVector from a Site object and Greenwich apparent sidereal time.

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

Parameters

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

Return Value

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