AGI AgCrdnPlugin 11 Send comments on this topic.
TransformComponents_Array Method (IAgCrdnConfiguredAxes)
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
Windows






Windows & Linux

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. 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 _
) As System.Array

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

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

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

[Unmanaged C++]
public: HRESULT TransformComponents_Array(
IUnknown * DispInterface,
double X,
double Y,
double Z,
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

Return Type

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

See Also

© 2017 Analytical Graphics, Inc. All Rights Reserved.

STK 11.2.1 Programming Interface