AGI AgCrdnPlugin 11 Send comments on this topic.
Evaluate_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





Description

Computes the System position (in internal units) and quaternion at the given time returned as an array representing x, y, z, q1, q2, q3, q4. Useful for scripting clients.

Syntax

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

[C#]
public System.Array Evaluate_Array(
AgEUtTimeScale Scale,
int WholeDays,
double SecsIntoDay
);

[Managed C++]
public: System::Array Evaluate_Array(
AgEUtTimeScale Scale,
int WholeDays,
double SecsIntoDay
);

[Java]
public VariantArray evaluate_Array(
AgEUtTimeScale Scale,
int WholeDays,
double SecsIntoDay
);

[Unmanaged C++]
public: HRESULT Evaluate_Array(
AgEUtTimeScale Scale,
long WholeDays,
double SecsIntoDay,
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

Return Type

An array containing the System's origin location and the System's axes quaternion at the requested time

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1