CelestialObject.GetPosVelAtEpoch(Variable) Method

Top 

Description

Returns the X, Y, Z, VX, VY, VZ components of the state of the CelestialObject, referenced from the CentralBody.

 

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

CelestialObject.GetPosVelAtEpoch(

Variable epoch)

 

 

Arguments

epoch


Description:

The epoch at which the CelestialObject's state is evaluated.

 

 

 

Return Value

Type:

Array of number (size = 6)

 

 

Returns a six-element Array containing the position and velocity of the Celestial Object, referenced to the ICRF.

 

Syntax

myArray1 = myCelestialObject1.GetPosVelAtEpoch(myVariable1);

 

 

See also

CelestialObject Object

CelestialObjects Guide