SpiceEphemeris.PositionAtEpoch(Variable) Method

Top 

Description

Returns the position of the state contained in the SPICE ephemeris at the specified epoch.

 

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

SpiceEphemeris.PositionAtEpoch(

Variable epoch)

 

 

Arguments

epoch


Description:

The epoch at which to evaluate the position.

 

 

 

Return Value

Type:

Array of number (size = 3)

Units:

km

 

 

Returns a 3-element Array containing the position of the state contained in the SPICE ephemeris at the specified epoch.

 

Syntax

myArray1 = mySpiceEphemeris1.PositionAtEpoch(myVariable1);

 

 

See also

SpiceEphemeris Object

SPICE Ephemeris Guide