Computes the System position and velocity, quaternion, and angular rate in reference components (in internal units) at the given time
[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 ); |
- 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.
Returns false if an error occurred, else returns true.