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 nanosecond timing precision mode.

Click here to see the documentation for this object in millisecond 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