AGI AgCrdnPlugin 11 Send comments on this topic.
TransformComponentsAtEpoch 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 on input; the X-component of the transformed vector on output.
Y
The Y-component of the vector to be transformed on input; the Y-component of the transformed vector on output.
Z
The Z-component of the vector to be transformed on input; the Z-component of the transformed vector on output.
Vx
The X-component of the vector rate to be transformed on input; the X-component of the transformed vector rate on output.
Vy
The Y-component of the vector rate to be transformed on input; the Y-component of the transformed vector rate on output.
Vz
The Z-component of the vector rate to be transformed on input; the Z-component of the transformed vector rate on output.





Description

Transforms vector components given wrt System into those wrt RefSystem at the given time.

Syntax

[Visual Basic .NET]
Public Function TransformComponentsAtEpoch( _
   ByVal Scale As AgEUtTimeScale, _
   ByVal WholeDays As Integer, _
   ByVal SecsIntoDay As Double, _
   ByRef X As Double, _
   ByRef Y As Double, _
   ByRef Z As Double, _
   ByRef Vx As Double, _
   ByRef Vy As Double, _
   ByRef Vz As Double _
) As Boolean

[C#]
public bool TransformComponentsAtEpoch(
AgEUtTimeScale Scale,
int WholeDays,
double SecsIntoDay,
ref double X,
ref double Y,
ref double Z,
ref double Vx,
ref double Vy,
ref double Vz
);

[Managed C++]
public: bool TransformComponentsAtEpoch(
AgEUtTimeScale Scale,
int WholeDays,
double SecsIntoDay,
double ^ X,
double ^ Y,
double ^ Z,
double ^ Vx,
double ^ Vy,
double ^ Vz
);

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

[Unmanaged C++]
public: HRESULT TransformComponentsAtEpoch(
AgEUtTimeScale Scale,
long WholeDays,
double SecsIntoDay,
double * X,
double * Y,
double * Z,
double * Vx,
double * Vy,
double * Vz,
VARIANT_BOOL * ReturnValue
);

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 on input; the X-component of the transformed vector on output.
Y
The Y-component of the vector to be transformed on input; the Y-component of the transformed vector on output.
Z
The Z-component of the vector to be transformed on input; the Z-component of the transformed vector on output.
Vx
The X-component of the vector rate to be transformed on input; the X-component of the transformed vector rate on output.
Vy
The Y-component of the vector rate to be transformed on input; the Y-component of the transformed vector rate on output.
Vz
The Z-component of the vector rate to be transformed on input; the Z-component of the transformed vector rate on output.

Return Type

Returns false if an error occurred, else returns true.

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1