This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > PublisherControls > ESRI.ArcGIS.PublisherControls > Interfaces > IA > IARGlobe Interface > IARGlobe.GetObserverLocation Method (ArcObjects .NET 10.5 SDK) |
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.