Ephemeris.SetSpacecraftState(Variable, Variable) Method

Top 

Description

Loads the state in the vector specified by 'vectorIndex' into the associated Spacecraft. If the state being loaded is discontinuous, the 'spacecraftState' state is loaded.

 

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

Ephemeris.SetSpacecraftState(

Variable vectorIndex,


Variable spacecraftState)

 

 

Arguments

vectorIndex


Description:

The index within the ephemeris that specifies a vector.

Valid Range:

vectorIndex ≥ 0

 

 

spacecraftState


Description:

If the state being loaded is discontinuous, this argument specifies which state to load.

Valid Values:

Value

Label

0

Before Discontinuity

1

After Discontinuity

 

 

 

 

Syntax

myEphemeris1.SetSpacecraftState(myVariable1, myVariable2);

 

 

See also

Ephemeris Object

Ephemeris.SetSpacecraftState

Working with Ephemerides

Ephemerides and AHF