CoordinateSystem.SetQuaternion(Array) Method

Top 

Description

Initializes the CoordinateSystem object using the orientation specified by the quaternion.

 

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.SetQuaternion(

Array quaternion)

 

 

Arguments

quaternion


Description:

Four-element Array containing the Quaternion that specifies the orientation of the CoordinateSystem.

Required Size:

At least 4

 

 

 

Return Value

Type:

number

 

 

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

 

Syntax

myVariable1 = myCoordinateSystem1.SetQuaternion(myArray1);

 

 

See also

CoordinateSystem Object

CoordinateSystem.SetQuaternion

Vectors and Coordinate Systems Guide

Orbit Reference Frames Guide

Attitude Reference Frames Guide

Matrix, Array, and Variable Math Guide