LookAngleFrame.CalculateLookAngles(Spacecraft, Array, Variable, Variable) 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 millisecond timing precision mode.

Click here to see the documentation for this object in nanosecond timing precision mode.

 

Method Signature

LookAngleFrame.CalculateLookAngles(

Spacecraft source,


Array target,


Variable lookAngle1,


Variable lookAngle2)

 

 

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:

Defines a target position in MJ2000 coordinates for which to determine look angle coordinates.

Required Size:

3

 

 

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.

 

 

 

Syntax

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

 

 

See also

LookAngleFrame Object

LookAngleFrame.CalculateLookAngles