ArcObjects Library Reference (GlobeCore)  

IGlobeDisplayRendering2.GetSunPosition Method

Gets the sun position in lat, lon.

[Visual Basic .NET]
Public Sub GetSunPosition ( _
    ByRef pLatitude As Double, _
    ByRef pLongitude As Double _
)
[C#]
public void GetSunPosition (
    ref double pLatitude,
    ref double pLongitude
);
[C++]
HRESULT GetSunPosition(
  double* pLatitude,
  double* pLongitude
);
[C++]

Parameters

pLatitude [out]   pLatitude is a parameter of type double pLongitude [out]   pLongitude is a parameter of type double

Product Availability

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

See Also

IGlobeDisplayRendering2 Interface