CelestialSystem.GetVelocityOfObject(Variable, Spacecraft) Method

Top 

Description

Returns an Array containing the 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.GetVelocityOfObject(

Variable epoch,


Spacecraft spacecraft)

 

 

Arguments

epoch


Description:

The epoch at which to evaluate the system.

 

 

spacecraft


Description:

The Spacecraft whose velocity will be returned.

 

 

 

Return Value

Type:

Array of number (size = 3)

Units:

km/s

 

 

Returns the VX, VY, VZ components of the state of the argument object in the ICRF.

 

Syntax

myArray1 = myCelestialSystem1.GetVelocityOfObject(myVariable1, mySpacecraft1);

 

 

See also

CelestialSystem Object

CelestialSystem.GetVelocityOfObject

Rotating-Pulsating Systems Guide