AGI AgAsHpopPlugin 6 Send comments on this topic.
TransformVectorToBody_Array Method (IAgAsLightReflectionResult)
See Also 
FrameFrom
XFrom
YFrom
ZFrom
Windows








Description

Transforms a vector from the input frame to the body frame returned as an array representing x, y, z. Useful for scripting clients.

Syntax

[Visual Basic .NET]
Public Function TransformVectorToBody_Array( _
   ByVal FrameFrom As AgEUtFrame, _
   ByVal XFrom As Double, _
   ByVal YFrom As Double, _
   ByVal ZFrom As Double _
) As System.Array

[C#]
public System.Array TransformVectorToBody_Array(
AgEUtFrame FrameFrom,
double XFrom,
double YFrom,
double ZFrom
);

[Managed C++]
public: System::Array TransformVectorToBody_Array(
AgEUtFrame FrameFrom,
double XFrom,
double YFrom,
double ZFrom
);

[Unmanaged C++]
public: HRESULT TransformVectorToBody_Array(
AgEUtFrame FrameFrom,
double XFrom,
double YFrom,
double ZFrom,
SAFEARRAY ** Array
);

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

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

Parameters

FrameFrom
Member Value Description
eUtFrameInertial 0  
eUtFrameFixed 1  
eUtFrameLVLH 2  
eUtFrameNTC 3  
eUtFrameICRF 4  
eUtFrameJ2000 5  
XFrom
YFrom
ZFrom

See Also

© 2017 Analytical Graphics, Inc. All Rights Reserved.

ODTK 6.5