AGI AgAsHpopPlugin 6 Send comments on this topic.
SunPositionInBody_Array Method (IAgAsDragModelResultEval)
See Also 
SunPosType
Windows








Description

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

Syntax

[Visual Basic .NET]
Public Function SunPositionInBody_Array( _
   ByVal SunPosType As AgEUtSunPosType _
) As System.Array

[C#]
public System.Array SunPositionInBody_Array(
AgEUtSunPosType SunPosType
);

[Managed C++]
public: System::Array SunPositionInBody_Array(
AgEUtSunPosType SunPosType
);

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

[VBScript]
'Function object.SunPositionInBody_Array(...)  returns an array
' SunPosType is type AgEUtSunPosType (an integer)
result = object.SunPositionInBody_Array(SunPosType)

[Perl]
$return_value = $objectReference->SunPositionInBody_Array(# $return_value is an array reference
$SunPosType# type AgEUtSunPosType (scalar integer)
);

Parameters

SunPosType
Member Value Description
eUtSunPosTypeApparentToTrueCB 0  
eUtSunPosTypeApparent 1  
eUtSunPosTypeTrue 2  
eUtSunPosTypeSRP 3  

See Also

© 2017 Analytical Graphics, Inc. All Rights Reserved.

ODTK 6.5