STK AgAccessConstraintPluginSend 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
);
[Unmanaged C++]
public: HRESULT RelativeVelocity(
    AgEAccessApparentPositionType Type,
    AgEUtFrame Frame,
    double * Vx,
    double * Vy,
    double * Vz
);

Parameters

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.

See Also

© 2024 Analytical Graphics, Inc. All Rights Reserved.