AGI AgAsHpopPlugin 6 Send comments on this topic.
SunPositionInBody Method (IAgAsDragModelResult)
See Also 
SunPosType
X
Y
Z
Windows








Description

Position of the sun in meters wrt the current satellite position, in the body frame, computed in the requested manner.

Syntax

[Visual Basic .NET]
Public Sub SunPositionInBody( _
   ByVal SunPosType As AgEUtSunPosType, _
   ByRef X As Double, _
   ByRef Y As Double, _
   ByRef Z As Double _
) 

[C#]
public void SunPositionInBody(
AgEUtSunPosType SunPosType,
ref double X,
ref double Y,
ref double Z
);

[Managed C++]
public: void SunPositionInBody(
AgEUtSunPosType SunPosType,
double ^ X,
double ^ Y,
double ^ Z
);

[Unmanaged C++]
public: HRESULT SunPositionInBody(
AgEUtSunPosType SunPosType,
double * X,
double * Y,
double * Z
);

[VBScript]
SunPositionInBody not supported by VBScript (VBScript does not support ByRef arguments in COM)

[Perl]
$objectReference->SunPositionInBody(
$SunPosType, # type AgEUtSunPosType (scalar integer)
$X, # type Variant (VT_R8 | VT_BYREF)
$Y, # type Variant (VT_R8 | VT_BYREF)
$Z# type Variant (VT_R8 | VT_BYREF)
);

Parameters

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

See Also

© 2017 Analytical Graphics, Inc. All Rights Reserved.

ODTK 6.5