STK AgAsHpopPluginSend comments on this topic.
TransformVector_Array Method (IAgAsHpopPluginResultPostEval)
See Also
FrameFrom
Frame of the FromVector.
XFrom
X component of the FromVector.
YFrom
Y component of the FromVector.
ZFrom
Z component of the FromVector.
FrameTo
Requested frame of the ToVector.
Windows





Windows & Linux

Description

Transforms a vector from the input frame to the output frame (in internal units) returned as an array representing x, y, z. Useful for scripting clients.

Syntax

[Visual Basic .NET]
Public Function TransformVector_Array( _
    ByVal FrameFrom As AgEUtFrame, _
    ByVal XFrom As Double, _
    ByVal YFrom As Double, _
    ByVal ZFrom As Double, _
    ByVal FrameTo As AgEUtFrame _
) As System.Array
[C#]
public System.Array TransformVector_Array(
    AgEUtFrame FrameFrom,
    double XFrom,
    double YFrom,
    double ZFrom,
    AgEUtFrame FrameTo
);
[Managed C++]
public: System::Array TransformVector_Array(
    AgEUtFrame FrameFrom,
    double XFrom,
    double YFrom,
    double ZFrom,
    AgEUtFrame FrameTo
);
[Unmanaged C++]
public: HRESULT TransformVector_Array(
    AgEUtFrame FrameFrom,
    double XFrom,
    double YFrom,
    double ZFrom,
    AgEUtFrame FrameTo,
    SAFEARRAY * * pArray
);
[Java]
public AgSafeArray transformVector_Array(
    AgEUtFrame FrameFrom,
    double XFrom,
    double YFrom,
    double ZFrom,
    AgEUtFrame FrameTo
);

Parameters

FrameFrom
Frame of the FromVector.
XFrom
X component of the FromVector.
YFrom
Y component of the FromVector.
ZFrom
Z component of the FromVector.
FrameTo
Requested frame of the ToVector.

Return Type

An array containing the components of the ToVector, expressed in the requested frame.

See Also

© 2024 Analytical Graphics, Inc. All Rights Reserved.