AGI AgCrdnPlugin 11 Send comments on this topic.
TransformComponents 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 on input; the X-component of the transformed vector on output.
Y
The Y-component of the vector to be transformed on input; the Y-component of the transformed vector on output.
Z
The Z-component of the vector to be transformed on input; the Z-component of the transformed vector on output.





Description

Transforms vector components given wrt Axes into those wrt RefAxes at the interface's current time.

Syntax

[Visual Basic .NET]
Public Function TransformComponents( _
   ByVal DispInterface As Object, _
   ByRef X As Double, _
   ByRef Y As Double, _
   ByRef Z As Double _
) As Boolean

[C#]
public bool TransformComponents(
Object DispInterface,
ref double X,
ref double Y,
ref double Z
);

[Managed C++]
public: bool TransformComponents(
IUnknown ^ DispInterface,
double ^ X,
double ^ Y,
double ^ Z
);

[Java]
public bool transformComponents(
Object DispInterface,
double X,
double Y,
double Z
);

[Unmanaged C++]
public: HRESULT TransformComponents(
IUnknown * DispInterface,
double * X,
double * Y,
double * Z,
VARIANT_BOOL * ReturnValue
);

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 on input; the X-component of the transformed vector on output.
Y
The Y-component of the vector to be transformed on input; the Y-component of the transformed vector on output.
Z
The Z-component of the vector to be transformed on input; the Z-component of the transformed vector on output.

Return Type

Returns false if an error occurred, else returns true.

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1