AGI AgCrdnPlugin 11 Send comments on this topic.
TransformComponentsAtEpoch_Array Method (IAgCrdnConfiguredSystemWithRate)
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
Vx
The X-component of the vector rate to be transformed
Vy
The Y-component of the vector rate to be transformed
Vz
The Z-component of the vector rate to be transformed





Description

Transforms vector components given wrt System into those wrt RefSystem at the given time, returned as an array representing x, y, z, vx, vy, vz. 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, _
   ByVal Vx As Double, _
   ByVal Vy As Double, _
   ByVal Vz As Double _
) As System.Array

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

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

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

[Unmanaged C++]
public: HRESULT TransformComponentsAtEpoch_Array(
AgEUtTimeScale Scale,
long WholeDays,
double SecsIntoDay,
double X,
double Y,
double Z,
double Vx,
double Vy,
double Vz,
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
Vx
The X-component of the vector rate to be transformed
Vy
The Y-component of the vector rate to be transformed
Vz
The Z-component of the vector rate to be transformed

Return Type

An array containing the components of the transformed vector and its rate at the requested time.

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1