CelestialObject.GetCartesianStateAtEpoch(Variable, Variable, Variable) Method

Top 

Description

Returns the X, Y, Z, VX, VY and VZ components of the state of the CelestialObject at the specified epoch in the specified frame, referenced from the CentralBody. The reference frame will be evaluated at the specified frameEpoch.

 

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.GetCartesianStateAtEpoch(

Variable epoch,


Variable referenceFrame,


Variable frameEpoch)

 

 

Arguments

epoch


Description:

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

 

 

referenceFrame


Description:

The reference frame in which the state elements will be evaluated.

Valid Values:

Value

Label

1

ICRF

2

Mean of J2000 Earth Ecliptic

3

Mean of 1950 Earth Equator

4

Mean of Date Earth Equator

5

True Equator Mean Equinox

6

True of Date Earth Equator

7

TIRF

8

Earth Fixed

9

Moon Fixed (Principle Axis Rotating)

10

Moon Principle Axis - Inertial at J2000

11

Moon Principle Axis - Inertial at Epoch

12

Moon Mean Earth - Rotating

13

Moon Mean Earth - Inertial at J2000

14

Moon Mean Earth - Inertial at Epoch

15

CIRF

16

Specify any CelestialObject.ReferenceFrameId

 

 

 

frameEpoch


Description:

The epoch at which the Reference Frame will be evaluated.

 

 

 

Return Value

Type:

Array of number (size = 6)

 

 

Returns the Cartesian state.

 

Syntax

myArray1 = myCelestialObject1.GetCartesianStateAtEpoch(myVariable1, myVariable2, myVariable3);

 

 

See also

CelestialObject Object

CelestialObject.GetCartesianStateAtEpoch

CelestialObjects Guide