STK AgAsPluginSend comments on this topic.
AddEphemerisOnDate Method (IAgAsEphemFileReaderPluginResultEphem)
See Also
Scale
Year
Month
DayOfMonth
Hour
Minute
Seconds
X
Y
Z
Vx
Vy
Vz
CovArray
Windows





Windows & Linux

Description

Adds an ephemeris point on the date specified. The Covariance array is optional. It contains the lower triangle of the covariance matrix, either 6 elements for position only, or 21 elements when using pos-vel covariance. Year [yyyy], DayOfYear [1-366], Month [1-12], DayOfMonth [1-31], Hour [0-23], Minute [0-59], Seconds [0-60].

Syntax

[Visual Basic .NET]
Public Function AddEphemerisOnDate( _
    ByVal Scale As AgEUtTimeScale, _
    ByVal Year As Integer, _
    ByVal Month As Integer, _
    ByVal DayOfMonth As Integer, _
    ByVal Hour As Integer, _
    ByVal Minute As Integer, _
    ByVal Seconds 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, _
    ByVal CovArray As System.Array _
) As Boolean
[C#]
public bool AddEphemerisOnDate(
    AgEUtTimeScale Scale,
    int Year,
    int Month,
    int DayOfMonth,
    int Hour,
    int Minute,
    double Seconds,
    double X,
    double Y,
    double Z,
    double Vx,
    double Vy,
    double Vz,
    System.Array CovArray
);
[Managed C++]
public: bool AddEphemerisOnDate(
    AgEUtTimeScale Scale,
    int Year,
    int Month,
    int DayOfMonth,
    int Hour,
    int Minute,
    double Seconds,
    double X,
    double Y,
    double Z,
    double Vx,
    double Vy,
    double Vz,
    System::Array CovArray
);
[Unmanaged C++]
public: HRESULT AddEphemerisOnDate(
    AgEUtTimeScale Scale,
    long Year,
    long Month,
    long DayOfMonth,
    long Hour,
    long Minute,
    double Seconds,
    double X,
    double Y,
    double Z,
    double Vx,
    double Vy,
    double Vz,
    SAFEARRAY * CovArray,
    VARIANT_BOOL * pAdded
);
[Java]
public bool addEphemerisOnDate(
    AgEUtTimeScale Scale,
    int Year,
    int Month,
    int DayOfMonth,
    int Hour,
    int Minute,
    double Seconds,
    double X,
    double Y,
    double Z,
    double Vx,
    double Vy,
    double Vz,
    AgSafeArray CovArray
);

Parameters

Scale
Year
Month
DayOfMonth
Hour
Minute
Seconds
X
Y
Z
Vx
Vy
Vz
CovArray

See Also

© 2024 Analytical Graphics, Inc. All Rights Reserved.