Computes the quaternion representing the Axes and its angular rate in reference components at the interface's current time.
[Visual Basic .NET] |
---|
Public Function CurrentValue( _ ByVal DispInterface As Object, _ ByRef Q1 As Double, _ ByRef Q2 As Double, _ ByRef Q3 As Double, _ ByRef Q4 As Double, _ ByRef Wx As Double, _ ByRef Wy As Double, _ ByRef Wz As Double _ ) As Boolean |
[C#] |
---|
public bool CurrentValue( Object DispInterface, ref double Q1, ref double Q2, ref double Q3, ref double Q4, ref double Wx, ref double Wy, ref double Wz ); |
- DispInterface
An interface supporting IAgEpoch. This is the interface that is passed to the plugin component method call.
- Q1
- Q1 component of the quaternion at the current time.
- Q2
- Q2 component of the quaternion at the current time.
- Q3
- Q3 component of the quaternion at the current time.
- Q4
- Q4 component of the quaternion at the current time.
- Wx
- X component of the angular velocity at the current time.
- Wy
- Y component of the angular velocity at the current time.
- Wz
- Z component of the angular velocity at the current time.
Returns false if an error occurred, else returns true.
Plugin components that know a current time use interface arguments supporting this interface. See IAgAsHpopPluginResult and IAgGatorPluginResultState for examples.