SpiceEphemeris.OrientationAtEpoch(TimeSpan) Method

Top 

Description

Returns the orientation of the state contained in the SPICE ephemeris at the specified epoch. If the SPICE file does not contain orientation data, an error will be generated.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

Click here to see the documentation for this object in millisecond timing precision mode.

 

Method Signature

SpiceEphemeris.OrientationAtEpoch(

TimeSpan epoch)

 

 

Arguments

epoch


Description:

The epoch at which to evaluate the orientation.

 

 

 

Return Value

Type:

Array of number (size = 7)

 

 

Returns a 7-element Array containing the orientation of the state contained in the SPICE ephemeris at the specified epoch. The first four elements of the Array will contain quaternions. The last three elements of the Array return the angular velocity of the state in degrees/second.

 

Syntax

myArray1 = mySpiceEphemeris1.OrientationAtEpoch(myTimeSpan1);

 

 

See also

SpiceEphemeris Object

SPICE Ephemeris Guide