AGI AgAsHpopPlugin 11 Send comments on this topic.
SunPosition_Array Method (IAgAsLightReflectionResultEval)
See Also 
SunPosType
Frame





Description

Position of the sun in meters wrt the current satellite position, in the requested frame, computed in the requested manner, 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  
Frame
Member Value Description
eUtFrameInertial 0  
eUtFrameFixed 1  
eUtFrameLVLH 2  
eUtFrameNTC 3  
eUtFrameICRF 4  
eUtFrameJ2000 5  

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1