This document is archived and information here might be outdated. Recommended version. |
Gets the current observer location.
[Visual Basic .NET]
Public Sub GetObserverLocation ( _
ByRef longitude As Double, _
ByRef latitude As Double, _
ByRef elev As Double _
)
[C#]
public void GetObserverLocation (
ref double longitude,
ref double latitude,
ref double elev
);
Returns the current observer location. The current observer location is described using a point on the ARGlobe�s surface beneath the current observer location and the current observer elevation. The point on the ARGlobe's surface is intersected by an imaginary line from the center of the globe to the observers location. Elevation returns the altitude, relative to sea level, of the current observer location.
Observer location latitude and longitude are measured in decimal degrees. Observer location elevation is measured in Kilometers.