CoordinateSystem.SetEulerAngles(Variable, Variable, Variable, String) Method

Top 

Description

Initializes the CoordinateSystem object using the orientation derived from the Euler Angles.

 

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

CoordinateSystem.SetEulerAngles(

Variable eulerAngle1,


Variable eulerAngle2,


Variable eulerAngle3,


String eulerSequence)

 

 

Arguments

eulerAngle1


Description:

First Euler Angle that specifies the orientation of the CoordinateSystem

Units:

deg

Valid Range:

-360 ≤ eulerAngle1 ≤ 360

 

 

eulerAngle2


Description:

Second Euler Angle that specifies the orientation of the CoordinateSystem.

Units:

deg

Valid Range:

-360 ≤ eulerAngle2 ≤ 360

 

 

eulerAngle3


Description:

Third Euler Angle that specifies the orientation of the CoordinateSystem.

Units:

deg

Valid Range:

-360 ≤ eulerAngle3 ≤ 360

 

 

eulerSequence


Description:

Euler Sequence to use when applying the Euler angles to specify the orientation of the CoordinateSystem. The format of the String should be "X-X-X", where each X can be 1, 2, or 3.

 

 

 

Return Value

Type:

number

 

 

Returns a 1 if the Coordinate System Euler Angles were set successfully. Returns a 0 if unsuccessful.

 

Syntax

myVariable1 = myCoordinateSystem1.SetEulerAngles(myVariable2, myVariable3, myVariable4, myString1);

 

 

See also

CoordinateSystem Object

Vectors and Coordinate Systems Guide

Orbit Reference Frames Guide

Attitude Reference Frames Guide

Matrix, Array, and Variable Math Guide