AGI AgAsHpopPlugin 6 Send comments on this topic.
GetAcceleration_Array Method (IAgAsHpopPluginResultPostEval)
See Also 
Type
Acceleration type (i.e., a constituent of the force model)
Frame
Requested frame to express the results
Windows








Description

The acceleration in meters/second^2 contribution of the indicated Type, returned as cartesian components in the specified frame as the array X, Y, Z.

Syntax

[Visual Basic .NET]
Public Function GetAcceleration_Array( _
   ByVal Type As AgEAccelType, _
   ByVal Frame As AgEUtFrame _
) As System.Array

[C#]
public System.Array GetAcceleration_Array(
AgEAccelType Type,
AgEUtFrame Frame
);

[Managed C++]
public: System::Array GetAcceleration_Array(
AgEAccelType Type,
AgEUtFrame Frame
);

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

[VBScript]
'Function object.GetAcceleration_Array(...)  returns an array
' Type is type AgEAccelType (an integer)
' Frame is type AgEUtFrame (an integer)
result = object.GetAcceleration_Array(Type, Frame)

[Perl]
$return_value = $objectReference->GetAcceleration_Array(# $return_value is an array reference
$Type, # type AgEAccelType (scalar integer)
$Frame# type AgEUtFrame (scalar integer)
);

Parameters

Type
Member Value Description
eTotalAccel 0 Total accleration.
eTwoBodyAccel 1 Two body contribution.
eGravityAccel 2 Contribution of the total gravity field.
ePerturbedGravityAccel 3 Contribution of the total gravity field minus the two body contribution.
eSolidTidesAccel 4 Contribution of solid tides. Will be zero if the force model is not set to consider this effect.
eOceanTidesAccel 5 Contribution of ocean tides. Will be zero if the force model is not set to consider this effect.
eDragAccel 6 Contribution of atmospheric drag. Will be zero if the force model is not set to consider this effect.
eSRPAccel 7 Contribution of solar radiation pressure. Will be zero if the force model is not set to consider this effect.
eThirdBodyAccel 8 Contribution of all third bodies. Will be zero if the force model is not considering any third body forces.
eGenRelativityAccel 9 Contribution of general relativity effects. Will be zero if the force model is not set to consider this effect.
eAddedAccel 10 Contribution of any additional acceleration, say by a plugin.
eAlbedoAccel 11 Contribution of albedo (reflected solar radiation pressure).
eThermalRadiationPressureAccel 12 Contribution of thermal radiation pressure.
Acceleration type (i.e., a constituent of the force model)
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 the acceleration contribution in the requested frame

See Also

© 2017 Analytical Graphics, Inc. All Rights Reserved.

ODTK 6.5