STK AgPropagatorWrappersSend comments on this topic.
SunPosition Method (IAgGatorPluginResultAttCtrl)
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.
Windows





Windows & Linux

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
);
[Unmanaged C++]
public: HRESULT SunPosition(
    AgEUtSunPosType SunPosType,
    AgEUtFrame Frame,
    double * X,
    double * Y,
    double * Z
);

Parameters

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.

See Also

© 2024 Analytical Graphics, Inc. All Rights Reserved.