Prefs.GetHorizon() Method

Return the value of the Horizon setting (Observatory tab) for the given azimuth.

Syntax

Prefs.GetHorizon(Azimuth)

The method syntax has these parts:

Part Description
Azimuth (Double) azimuth (degrees)
Return (Double) The Horizon value for the given azimuth

Remarks

The Horizon is set on the preferences Observatory tab. It is used internally for slew limit enforcement.