STK AgAsHpopPluginSend comments on this topic.
SunPosition_Array Method (IAgAsHpopPluginResultPostEval)
See Also
SunPosType
Method for computing the position of the sun.
Frame
Requested frame to express the results.
Windows





Windows & Linux

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
);
[Unmanaged C++]
public: HRESULT SunPosition_Array(
    AgEUtSunPosType SunPosType,
    AgEUtFrame Frame,
    SAFEARRAY * * pArray
);
[Java]
public AgSafeArray sunPosition_Array(
    AgEUtSunPosType SunPosType,
    AgEUtFrame Frame
);

Parameters

SunPosType
Method for computing the position of the sun.
Frame
Requested frame to express the results.

Return Type

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

See Also

© 2024 Analytical Graphics, Inc. All Rights Reserved.