AGI AgCrdnPlugin 11 Send comments on this topic.
Evaluate 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
X component of the System's origin location at the requested time
Y
Y component of the System's origin location at the requested time
Z
Z component of the System's origin location at the requested time
Vx
X component of the System's origin location derivative at the requested time
Vy
Y component of the System's origin location derivative at the requested time
Vz
Z component of the System's origin location derivative at the requested time
Q1
Q1 component of the System's axes quaternion at the requested time
Q2
Q2 component of the System's axes quaternion at the requested time
Q3
Q3 component of the System's axes quaternion at the requested time
Q4
Q4 component of the System's axes quaternion at the requested time
Wx
X component of the System's axes angular velocity at the requested time
Wy
Y component of the System's axes angular velocity at the requested time
Wz
Z component of the System's axes angular velocity at the requested time





Description

Computes the System position and velocity, quaternion, and angular rate in reference components (in internal units) at the given time

Syntax

[Visual Basic .NET]
Public Function Evaluate( _
   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, _
   ByRef Q1 As Double, _
   ByRef Q2 As Double, _
   ByRef Q3 As Double, _
   ByRef Q4 As Double, _
   ByRef Wx As Double, _
   ByRef Wy As Double, _
   ByRef Wz As Double _
) As Boolean

[C#]
public bool Evaluate(
AgEUtTimeScale Scale,
int WholeDays,
double SecsIntoDay,
ref double X,
ref double Y,
ref double Z,
ref double Vx,
ref double Vy,
ref double Vz,
ref double Q1,
ref double Q2,
ref double Q3,
ref double Q4,
ref double Wx,
ref double Wy,
ref double Wz
);

[Managed C++]
public: bool Evaluate(
AgEUtTimeScale Scale,
int WholeDays,
double SecsIntoDay,
double ^ X,
double ^ Y,
double ^ Z,
double ^ Vx,
double ^ Vy,
double ^ Vz,
double ^ Q1,
double ^ Q2,
double ^ Q3,
double ^ Q4,
double ^ Wx,
double ^ Wy,
double ^ Wz
);

[Java]
public bool evaluate(
AgEUtTimeScale Scale,
int WholeDays,
double SecsIntoDay,
double X,
double Y,
double Z,
double Vx,
double Vy,
double Vz,
double Q1,
double Q2,
double Q3,
double Q4,
double Wx,
double Wy,
double Wz
);

[Unmanaged C++]
public: HRESULT Evaluate(
AgEUtTimeScale Scale,
long WholeDays,
double SecsIntoDay,
double * X,
double * Y,
double * Z,
double * Vx,
double * Vy,
double * Vz,
double * Q1,
double * Q2,
double * Q3,
double * Q4,
double * Wx,
double * Wy,
double * Wz,
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
X component of the System's origin location at the requested time
Y
Y component of the System's origin location at the requested time
Z
Z component of the System's origin location at the requested time
Vx
X component of the System's origin location derivative at the requested time
Vy
Y component of the System's origin location derivative at the requested time
Vz
Z component of the System's origin location derivative at the requested time
Q1
Q1 component of the System's axes quaternion at the requested time
Q2
Q2 component of the System's axes quaternion at the requested time
Q3
Q3 component of the System's axes quaternion at the requested time
Q4
Q4 component of the System's axes quaternion at the requested time
Wx
X component of the System's axes angular velocity at the requested time
Wy
Y component of the System's axes angular velocity at the requested time
Wz
Z component of the System's axes angular velocity at the requested time

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