Computes atmospheric refraction in zenith distance.

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

Syntax

C#
public static double Refract(
	ref SiteInfo location,
	short ref_option,
	double zd_obs
)
Visual Basic
Public Shared Function Refract ( _
	ByRef location As SiteInfo, _
	ref_option As Short, _
	zd_obs As Double _
) As Double
Visual C++
public:
static double Refract(
	SiteInfo% location, 
	short ref_option, 
	double zd_obs
)

Parameters

location
Type: ASCOM.Astrometry..::..SiteInfo%
structure containing observer's location
ref_option
Type: System..::..Int16
refraction option
zd_obs
Type: System..::..Double
bserved zenith distance, in degrees.

Return Value

Atmospheric refraction, in degrees.

Remarks

This version computes approximate refraction for optical wavelengths.

See Also