AGI AgAccessConstraintPlugin 11 Send comments on this topic.
ApparentSunPosition_Array Method (IAgAccessConstraintPluginObjectData)
See Also 
Frame
Requested frame to express the results





Description

The apparent sun position with respect to the object in the requested frame, returned as an array representing x, y, z. Only eUtFrameInertial and eUtFrameFixed are supported. Useful for scripting clients.

Syntax

[Visual Basic .NET]
Public Function ApparentSunPosition_Array( _
   ByVal Frame As AgEUtFrame _
) As System.Array

[C#]
public System.Array ApparentSunPosition_Array(
AgEUtFrame Frame
);

[Managed C++]
public: System::Array ApparentSunPosition_Array(
AgEUtFrame Frame
);

[Java]
public VariantArray apparentSunPosition_Array(
AgEUtFrame Frame
);

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

Parameters

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 theposition of the sun in the requested frame

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1