CelestialSystem.GetPosVelOfObject(TimeSpan, Spacecraft) Method

Top 

Description

Returns an Array containing the position and velocity of the argument object in the ICRF, referenced from the barycenter of the CelestialSystem.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

Click here to see the documentation for this object in millisecond timing precision mode.

 

Method Signature

CelestialSystem.GetPosVelOfObject(

TimeSpan epoch,


Spacecraft spacecraft)

 

 

Arguments

epoch


Description:

The epoch at which to evaluate the system.

 

 

spacecraft


Description:

The Spacecraft whose state will be returned.

 

 

 

Return Value

Type:

Array of number (size = 6)

 

 

Returns the state of the argument object in the ICRF in units of km and km/s.

 

Syntax

myArray1 = myCelestialSystem1.GetPosVelOfObject(myTimeSpan1, mySpacecraft1);

 

 

See also

CelestialSystem Object

CelestialSystem.GetPosVelOfObject

Rotating-Pulsating Systems Guide