Spacecraft.SetOrientation(CoordinateSystem) Method

Top 

Description

Sets the orientation of the calling Spacecraft using the specified CoordinateSystem object. Note, the AttitudeRefFrame property of the calling Vehicle must be set to "MJ2000".

 

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

Spacecraft.SetOrientation(

CoordinateSystem coordinateSystem)

 

 

Arguments

coordinateSystem


Description:

CoordinateSystem object to use to define the orientation of the calling Spacecraft.

 

 

 

Return Value

Type:

number

 

 

Returns a 1 if the calling Spacecraft's orientation is set successfully.

 

Syntax

myVariable1 = mySpacecraft1.SetOrientation(myCoordinateSystem1);

 

 

See also

Spacecraft Object

Spacecraft Propagation Guide

Coverage and Contact Analysis Guide