CelestialSystem.GetPosVelOfObject(Variable, CelestialObject) 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 millisecond timing precision mode. Millisecond timing precision mode is deprecated and will be removed in a future release. We recommend that you migrate your Mission Plans to nanosecond timing precision mode.

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

 

Method Signature

CelestialSystem.GetPosVelOfObject(

Variable epoch,


CelestialObject celestialObject)

 

 

Arguments

epoch


Description:

The epoch at which to evaluate the system.

 

 

celestialObject


Description:

The CelestialObject 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(myVariable1, myCelestialObject1);

 

 

See also

CelestialSystem Object

CelestialSystem.GetPosVelOfObject

Rotating-Pulsating Systems Guide