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


IGlobeViewUtil.GeocentricToWindow Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GlobeCore)  

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,
  Long* pWinX,
  Long* 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 Long pWinY [out] pWinY is a parameter of type Long

Product Availability

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

See Also

IGlobeViewUtil Interface