ArcObjects Library Reference  (PublisherControls)    

IARGlobe.GetSurfacePoint Method

Converts a point in device coordinates (typically pixels) to coordinates in latitude and longitude.

[Visual Basic 6.0]
Function GetSurfacePoint(
    ByVal x As Long, _
    ByVal y As Long, _
    longitude As Double, _
    latitude As Double, _
    elev As Double _
) As Boolean
[Visual Basic .NET]
Public Function GetSurfacePoint ( _
    ByVal x As Integer, _
    ByVal y As Integer, _
    ByRef longitude As Double, _
    ByRef latitude As Double, _
    ByRef elev As Double _
) As Boolean
[C#]
public bool GetSurfacePoint (
    int x,
    int y,
    ref double longitude,
    ref double latitude,
    ref double elev
);

Product Availability

Available with ArcGIS Desktop. Requires Publisher Extension.

Description

Given a screen coordinate in pixels, this method returns the longitude and latitude of the point on the ARGlobe surface at the screen X and Y location.  It also returns the elevation of the globe surface at that point.

Remarks

Latitude and longitude are measured in decimal degrees.  Elevation is measured in Kilometers.

See Also

IARGlobe Interface

 


Feedback Send feedback on this page