AGI AgAccessConstraintPlugin 11 Send comments on this topic.
RelativeVelocity Method (IAgAccessConstraintPluginObjectData)
See Also 
Type
An apparent position indicator.
Frame
Requested frame to express the results
Vx
The X-component of relative velocity in the requested frame, as observed rotating with that frame
Vy
The Y-component of relative velocity in the requested frame, as observed rotating with that frame
Vz
The Z-component of relative velocity in the requested frame, as observed rotating with that frame
Windows






Windows & Linux

Description

The apparent relative velocity of the other object with respect to this object, in the requested frame. Only eUtFrameInertial and eUtFrameFixed are supported.

Syntax

[Visual Basic .NET]
Public Sub RelativeVelocity( _
   ByVal Type As AgEAccessApparentPositionType, _
   ByVal Frame As AgEUtFrame, _
   ByRef Vx As Double, _
   ByRef Vy As Double, _
   ByRef Vz As Double _
) 

[C#]
public void RelativeVelocity(
AgEAccessApparentPositionType Type,
AgEUtFrame Frame,
ref double Vx,
ref double Vy,
ref double Vz
);

[Managed C++]
public: void RelativeVelocity(
AgEAccessApparentPositionType Type,
AgEUtFrame Frame,
double ^ Vx,
double ^ Vy,
double ^ Vz
);

[Java]
public  relativeVelocity(
AgEAccessApparentPositionType Type,
AgEUtFrame Frame,
double Vx,
double Vy,
double Vz
);

[Unmanaged C++]
public: HRESULT RelativeVelocity(
AgEAccessApparentPositionType Type,
AgEUtFrame Frame,
double * Vx,
double * Vy,
double * Vz
);

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
Vx
The X-component of relative velocity in the requested frame, as observed rotating with that frame
Vy
The Y-component of relative velocity in the requested frame, as observed rotating with that frame
Vz
The Z-component of relative velocity in the requested frame, as observed rotating with that frame

See Also

© 2017 Analytical Graphics, Inc. All Rights Reserved.

STK 11.2.1 Programming Interface