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: 6.0.0.0 (6.2.0.2774)
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