AGI AgAccessConstraintPlugin 11 Send comments on this topic.
RelativeVelocity_Array Method (IAgAccessConstraintPluginObjectData)
See Also 
Type
An apparent position indicator.
Frame
Requested frame to express the results





Description

The apparent relative velocity of the other object with respect to this object, in the requested frame, returned as an array representing vx, vy, vz. Only eUtFrameInertial and eUtFrameFixed are supported.

Syntax

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

[C#]
public System.Array RelativeVelocity_Array(
AgEAccessApparentPositionType Type,
AgEUtFrame Frame
);

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

[Java]
public VariantArray relativeVelocity_Array(
AgEAccessApparentPositionType Type,
AgEUtFrame Frame
);

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

Parameters

Type
Member Value Description
eLightPathApparentPosition 1 Light path apparent position. Accounts for the light time delay (if applied) between objects.
eRefractedApparentPosition 2 Refracted apparent position. Accounts for refraction effects (if applied) on the light path apparent position.
eProperApparentPosition 3 Proper Apparent position. Accounts for aberration effects (depending on the aberration type applied) on the refracted apparent position.
An apparent position indicator.
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 relative velocity components in the requested frame, as observed rotating with the frame

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1