LookAngleFrame.CalculateLookAngles(Spacecraft, Star, Variable, Variable, Array) Method

Top 

Description

Calculates the look angles for the calling LookAngleFrame to the target using the source as the position of the LookAngleFrame.

 

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

LookAngleFrame.CalculateLookAngles(

Spacecraft source,


Star target,


Variable lookAngle1,


Variable lookAngle2,


Array offset)

 

 

Arguments

source


Description:

Provides the position of the calling LookAngleFrame. The body-fixed frame of source defines the base for the calling LookAngleFrame orientation.

 

 

target


Description:

The target Star for which to determine look angle coordinates.

 

 

lookAngle1


Description:

Will be set to the look angle 1 value of the target position in the calling LookAngleFrame's frame.

 

 

lookAngle2


Description:

Will be set to the look angle 2 value of the target position in the calling LookAngleFrame's frame.

 

 

offset


Description:

A 3 dimensional array defining the calling LookAngleFrame's offset from the source Spacecraft's center in the source's body-fixed coordinates.

Required Size:

3

 

 

 

Syntax

myLookAngleFrame1.CalculateLookAngles(mySpacecraft1, myStar1, myVariable1, myVariable2, myArray1);

 

 

See also

LookAngleFrame Object

LookAngleFrame.CalculateLookAngles