AGI AgCrdnPlugin 11 Send comments on this topic.
TransformComponents_Array Method (IAgCrdnConfiguredAxesWithRate)
See Also 
DispInterface

An interface supporting IAgEpoch. This is the interface that is passed to the plugin component method call.

X
The X-component of the vector to be transformed
Y
The Y-component of the vector to be transformed
Z
The Z-component of the vector to be transformed
Vx
The X-component of the vector rate to be transformed
Vy
The Y-component of the vector rate to be transformed
Vz
The Z-component of the vector rate to be transformed





Description

Transforms vector components given wrt Axes into those wrt RefAxes at the interface's current time, returned as an array representing x, y, z, vx, vy, vz. Useful for scripting clients.

Syntax

[Visual Basic .NET]
Public Function TransformComponents_Array( _
   ByVal DispInterface As Object, _
   ByVal X As Double, _
   ByVal Y As Double, _
   ByVal Z As Double, _
   ByVal Vx As Double, _
   ByVal Vy As Double, _
   ByVal Vz As Double _
) As System.Array

[C#]
public System.Array TransformComponents_Array(
Object DispInterface,
double X,
double Y,
double Z,
double Vx,
double Vy,
double Vz
);

[Managed C++]
public: System::Array TransformComponents_Array(
IUnknown ^ DispInterface,
double X,
double Y,
double Z,
double Vx,
double Vy,
double Vz
);

[Java]
public VariantArray transformComponents_Array(
Object DispInterface,
double X,
double Y,
double Z,
double Vx,
double Vy,
double Vz
);

[Unmanaged C++]
public: HRESULT TransformComponents_Array(
IUnknown * DispInterface,
double X,
double Y,
double Z,
double Vx,
double Vy,
double Vz,
SAFEARRAY ** Array
);

Parameters

DispInterface

An interface supporting IAgEpoch. This is the interface that is passed to the plugin component method call.

X
The X-component of the vector to be transformed
Y
The Y-component of the vector to be transformed
Z
The Z-component of the vector to be transformed
Vx
The X-component of the vector rate to be transformed
Vy
The Y-component of the vector rate to be transformed
Vz
The Z-component of the vector rate to be transformed

Return Type

An array containing the components of the transformed vector and its rate at the current time.

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1