AGI AgCrdnPlugin 11 Send comments on this topic.
TransformComponentsAtEpoch_Array Method (IAgCrdnConfiguredSystem)
See Also 
Scale
Time scale for requested time
WholeDays
Number of whole days in the time scale
SecsIntoDay
Seconds into the day
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 System into those wrt RefSystem at the given time, returned as an array representing x, y, z. Useful for scripting clients.

Syntax

[Visual Basic .NET]
Public Function TransformComponentsAtEpoch_Array( _
   ByVal Scale As AgEUtTimeScale, _
   ByVal WholeDays As Integer, _
   ByVal SecsIntoDay As Double, _
   ByVal X As Double, _
   ByVal Y As Double, _
   ByVal Z As Double _
) As System.Array

[C#]
public System.Array TransformComponentsAtEpoch_Array(
AgEUtTimeScale Scale,
int WholeDays,
double SecsIntoDay,
double X,
double Y,
double Z
);

[Managed C++]
public: System::Array TransformComponentsAtEpoch_Array(
AgEUtTimeScale Scale,
int WholeDays,
double SecsIntoDay,
double X,
double Y,
double Z
);

[Java]
public VariantArray transformComponentsAtEpoch_Array(
AgEUtTimeScale Scale,
int WholeDays,
double SecsIntoDay,
double X,
double Y,
double Z
);

[Unmanaged C++]
public: HRESULT TransformComponentsAtEpoch_Array(
AgEUtTimeScale Scale,
long WholeDays,
double SecsIntoDay,
double X,
double Y,
double Z,
SAFEARRAY ** Array
);

Parameters

Scale
Member Value Description
eUtTimeScaleUTC 0  
eUtTimeScaleTAI 1  
eUtTimeScaleTDT 2  
eUtTimeScaleUT1 3  
eUtTimeScaleSTKEpochSec 4  
eUtTimeScaleTDB 5  
eUtTimeScaleGPS 6  
Time scale for requested time
WholeDays
Number of whole days in the time scale
SecsIntoDay
Seconds into the day
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 requested time.

See Also

© 2017 Analytical Graphics, Inc. All Rights Reserved.

STK 11.2.1 Programming Interface