AGI AgAsHpopPlugin 6 Send comments on this topic.
PosVel_Array Method (IAgAsDragModelResult)
See Also 
Frame
Windows








Description

Current position (meters) and velocity (meters/second) in the requested frame returned as an array representing x, y, z, vx, vy, vz. Useful for scripting clients.

Syntax

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

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

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

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

[VBScript]
'Function object.PosVel_Array(...)  returns an array
' Frame is type AgEUtFrame (an integer)
result = object.PosVel_Array(Frame)

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

Parameters

Frame
Member Value Description
eUtFrameInertial 0  
eUtFrameFixed 1  
eUtFrameLVLH 2  
eUtFrameNTC 3  
eUtFrameICRF 4  
eUtFrameJ2000 5  

See Also

© 2017 Analytical Graphics, Inc. All Rights Reserved.

ODTK 6.5