AGI AgGator 11 Send comments on this topic.
SunPosition Method (IAgGatorPluginResultState)
See Also 
SunPosType
Method for computing the position of the sun
Frame

Requested frame to express the results

X
X component of the current sun position in requested frame
Y
Y component of the current sun position in requested frame
Z
Z component of the current sun position in requested frame





Description

Position of the sun wrt the current satellite position, in the requested frame, computed in the requested manner.

Syntax

[Visual Basic .NET]
Public Sub SunPosition( _
   ByVal SunPosType As AgEUtSunPosType, _
   ByVal Frame As AgEUtFrame, _
   ByRef X As Double, _
   ByRef Y As Double, _
   ByRef Z As Double _
) 

[C#]
public void SunPosition(
AgEUtSunPosType SunPosType,
AgEUtFrame Frame,
ref double X,
ref double Y,
ref double Z
);

[Managed C++]
public: void SunPosition(
AgEUtSunPosType SunPosType,
AgEUtFrame Frame,
double ^ X,
double ^ Y,
double ^ Z
);

[Java]
public  sunPosition(
AgEUtSunPosType SunPosType,
AgEUtFrame Frame,
double X,
double Y,
double Z
);

[Unmanaged C++]
public: HRESULT SunPosition(
AgEUtSunPosType SunPosType,
AgEUtFrame Frame,
double * X,
double * Y,
double * Z
);

Parameters

SunPosType
Member Value Description
eUtSunPosTypeApparentToTrueCB 0  
eUtSunPosTypeApparent 1  
eUtSunPosTypeTrue 2  
eUtSunPosTypeSRP 3  
Method for computing the position of the sun
Frame
Member Value Description
eUtFrameInertial 0  
eUtFrameFixed 1  
eUtFrameLVLH 2  
eUtFrameNTC 3  
eUtFrameICRF 4  
eUtFrameJ2000 5  

Requested frame to express the results

X
X component of the current sun position in requested frame
Y
Y component of the current sun position in requested frame
Z
Z component of the current sun position in requested frame

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1