This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > GlobeCore > ESRI.ArcGIS.GlobeCore > Interfaces > IG > IGlobeViewUtil Interface > IGlobeViewUtil.WindowToGeocentric Method (ArcObjects .NET 10.5 SDK) |
Get the geocentric coordinates in the line of sight defined by the window coordinates.
[Visual Basic .NET] Public Sub WindowToGeocentric ( _ ByVal pDisplay As IGlobeDisplay, _ ByVal pViewer As ISceneViewer, _ ByVal winX As Integer, _ ByVal winY As Integer, _ ByVal bUseZBufferValue As Boolean, _ ByRef pX As Double, _ ByRef pY As Double, _ ByRef pZ As Double _ )
[C#] public void WindowToGeocentric ( IGlobeDisplay pDisplay, ISceneViewer pViewer, int winX, int winY, bool bUseZBufferValue, ref double pX, ref double pY, ref double pZ );
[C++]
HRESULT WindowToGeocentric(
IGlobeDisplay* pDisplay,
ISceneViewer* pViewer,
Long winX,
Long winY,
VARIANT_BOOL bUseZBufferValue,
double* pX,
double* pY,
double* pZ
);
[C++]
Parameters pDisplay [in]
pDisplay is a parameter of type IGlobeDisplay pViewer [in]
pViewer is a parameter of type ISceneViewer winX [in] winX is a parameter of type Long winY [in] winY is a parameter of type Long bUseZBufferValue [in] bUseZBufferValue is a parameter of type VARIANT_BOOL pX [out] pX is a parameter of type double pY [out] pY is a parameter of type double pZ [out] pZ is a parameter of type double