This document is archived and information here might be outdated.  Recommended version.


IGlobeViewUtil.GeocentricToWindow Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > GlobeCore > ESRI.ArcGIS.GlobeCore > Interfaces > IG > IGlobeViewUtil Interface > IGlobeViewUtil.GeocentricToWindow Method
ArcGIS Developer Help

IGlobeViewUtil.GeocentricToWindow Method

Get the window coordinates corresponding to a geocentric location, or -1 if not visible.

[Visual Basic .NET]
Public Sub GeocentricToWindow ( _
    ByVal X As Double, _
    ByVal Y As Double, _
    ByVal Z As Double, _
    ByRef pWinX As Integer, _
    ByRef pWinY As Integer _
)
[C#]
public void GeocentricToWindow (
    double X,
    double Y,
    double Z,
    ref int pWinX,
    ref int pWinY
);
[C++]
HRESULT GeocentricToWindow(
  double X,
  double Y,
  double Z,
  System.Int32* pWinX,
  System.Int32* pWinY
);
[C++]
Parameters
X [in]

X is a parameter of type double Y [in]
Y is a parameter of type double Z [in]
Z is a parameter of type double pWinX [out]
pWinX is a parameter of type int* pWinY [out]
pWinY is a parameter of type int*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IGlobeViewUtil Interface