CelestialObject.GetPositionAtEpoch(Variable) Method

Top 

Description

Returns the X, Y, Z components of the state of the CelestialObject in the MJ2000 Earth Equator frame, referenced from the CentralBody.

 

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

CelestialObject.GetPositionAtEpoch(

Variable epoch)

 

 

Arguments

epoch


Description:

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

 

 

 

Return Value

Type:

Array of number (size = 3)

Units:

km

 

 

Returns a three-element Array containing the position of the Celestial Object, referenced to the MJ2000 Earth Equator frame.

 

Syntax

myArray1 = myCelestialObject1.GetPositionAtEpoch(myVariable1);

 

 

See also

CelestialObject Object

CelestialObjects Guide