RotatingPulsatingSystem.SetSpacecraftState(Spacecraft, Array) Method

Top 

Description

Sets the Spacecraft object's position and velocity at the Spacecraft epoch given the state vector with respect to the RotatingPulsatingSystem.

 

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

RotatingPulsatingSystem.SetSpacecraftState(

Spacecraft spacecraft,


Array state)

 

 

Arguments

spacecraft


Description:

The Spacecraft whose state will be altered.

 

 

state


Description:

Array that contains the state vector which will be applied to the Spacecraft.

Required Size:

6

 

 

 

Return Value

Type:

boolean

 

 

Returns 1 if the Spacecraft's state was successfully set.

 

Syntax

myVariable1 = myRotatingPulsatingSystem1.SetSpacecraftState(mySpacecraft1, myArray1);

 

 

See also

RotatingPulsatingSystem Object

Rotating-Pulsating Systems Guide