STK AgCrdnPluginSend comments on this topic.
Evaluate 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
X component of the vector at the requested time.
Y
Y component of the vector at the requested time.
Z
Z component of the vector at the requested time.
Q1
Q1 component of the quaternion at the requested time.
Q2
Q2 component of the quaternion at the requested time.
Q3
Q3 component of the quaternion at the requested time.
Q4
Q4 component of the quaternion at the requested time.
Windows





Windows & Linux

Description

Computes the System position (in internal units) and quaternion 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 Q1 As Double, _
    ByRef Q2 As Double, _
    ByRef Q3 As Double, _
    ByRef Q4 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 Q1,
    ref double Q2,
    ref double Q3,
    ref double Q4
);
[Managed C++]
public: bool Evaluate(
    AgEUtTimeScale Scale,
    int WholeDays,
    double SecsIntoDay,
    double ^ X,
    double ^ Y,
    double ^ Z,
    double ^ Q1,
    double ^ Q2,
    double ^ Q3,
    double ^ Q4
);
[Unmanaged C++]
public: HRESULT Evaluate(
    AgEUtTimeScale Scale,
    long WholeDays,
    double SecsIntoDay,
    double * X,
    double * Y,
    double * Z,
    double * Q1,
    double * Q2,
    double * Q3,
    double * Q4,
    VARIANT_BOOL * pResult
);

Parameters

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 vector at the requested time.
Y
Y component of the vector at the requested time.
Z
Z component of the vector at the requested time.
Q1
Q1 component of the quaternion at the requested time.
Q2
Q2 component of the quaternion at the requested time.
Q3
Q3 component of the quaternion at the requested time.
Q4
Q4 component of the quaternion at the requested time.

Return Type

Returns false if an error occurred, else returns true.

See Also

© 2024 Analytical Graphics, Inc. All Rights Reserved.