CelestialSystem.GetPosVelOfObject(Variable, Spacecraft) Method

Top 

Description

Returns an Array containing the position and velocity of the argument object in the MJ2000 Earth Equator frame, referenced from the barycenter of the CelestialSystem.

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode.

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

 

Method Signature

CelestialSystem.GetPosVelOfObject(

Variable 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 MJ2000 Earth Equator frame in units of km and km/s.

 

Syntax

myArray1 = myCelestialSystem1.GetPosVelOfObject(myVariable1, mySpacecraft1);

 

 

See also

CelestialSystem Object

CelestialSystem.GetPosVelOfObject

Rotating-Pulsating Systems Guide