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

Requested frame to express the results






Description

Position of the sun wrt the current satellite position, in the requested frame, computed in the requested manner, (in internal units) returned as an array representing x, y, z. Useful for scripting clients.

Syntax

[Visual Basic .NET]
Public Function SunPosition_Array( _
   ByVal SunPosType As AgEUtSunPosType, _
   ByVal Frame As AgEUtFrame _
) As System.Array

[C#]
public System.Array SunPosition_Array(
AgEUtSunPosType SunPosType,
AgEUtFrame Frame
);

[Managed C++]
public: System::Array SunPosition_Array(
AgEUtSunPosType SunPosType,
AgEUtFrame Frame
);

[Java]
public VariantArray sunPosition_Array(
AgEUtSunPosType SunPosType,
AgEUtFrame Frame
);

[Unmanaged C++]
public: HRESULT SunPosition_Array(
AgEUtSunPosType SunPosType,
AgEUtFrame Frame,
SAFEARRAY ** Array
);

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

Return Type

An array containing the current position of the sun in the requested frame

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1