AGI AgAsHpopPlugin 6 Send 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








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 ** Array
);

[VBScript]
'Function object.TransformVector_Array(...)  returns an array
' FrameFrom is type AgEUtFrame (an integer)
' XFrom is type Double
' YFrom is type Double
' ZFrom is type Double
' FrameTo is type AgEUtFrame (an integer)
result = object.TransformVector_Array(FrameFrom, XFrom, YFrom, ZFrom, FrameTo)

[Perl]
$return_value = $objectReference->TransformVector_Array(# $return_value is an array reference
$FrameFrom, # type AgEUtFrame (scalar integer)
$XFrom, # type double (scalar)
$YFrom, # type double (scalar)
$ZFrom, # type double (scalar)
$FrameTo# type AgEUtFrame (scalar integer)
);

Parameters

FrameFrom
Member Value Description
eUtFrameInertial 0  
eUtFrameFixed 1  
eUtFrameLVLH 2  
eUtFrameNTC 3  
eUtFrameICRF 4  
eUtFrameJ2000 5  
Frame of the FromVector
XFrom
X component of the FromVector
YFrom
Y component of the FromVector
ZFrom
Z component of the FromVector
FrameTo
Member Value Description
eUtFrameInertial 0  
eUtFrameFixed 1  
eUtFrameLVLH 2  
eUtFrameNTC 3  
eUtFrameICRF 4  
eUtFrameJ2000 5  
Requested frame of the ToVector

Return Type

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

See Also

© 2017 Analytical Graphics, Inc. All Rights Reserved.

ODTK 6.5