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


IGlobeViewUtil.GeographicToGeocentric 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.GeographicToGeocentric Method
ArcGIS Developer Help

IGlobeViewUtil.GeographicToGeocentric Method

Transform geographical coordinates to normalized geocentric coordinates.

[Visual Basic .NET]
Public Sub GeographicToGeocentric ( _
    ByVal long_dd As Double, _
    ByVal lat_dd As Double, _
    ByVal elev_meters As Double, _
    ByRef pX As Double, _
    ByRef pY As Double, _
    ByRef pZ As Double _
)
[C#]
public void GeographicToGeocentric (
    double long_dd,
    double lat_dd,
    double elev_meters,
    ref double pX,
    ref double pY,
    ref double pZ
);
[C++]
HRESULT GeographicToGeocentric(
  double long_dd,
  double lat_dd,
  double elev_meters,
  System.Double* pX,
  System.Double* pY,
  System.Double* pZ
);
[C++]
Parameters
long_dd [in]

long_dd is a parameter of type double lat_dd [in]
lat_dd is a parameter of type double elev_meters [in]
elev_meters is a parameter of type double 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*

Product Availability

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

See Also

IGlobeViewUtil Interface