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

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

 

Method Signature

LookAngleFrame.CalculateLookAngles(

Spacecraft source,


CelestialObject 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 CelestialObject of which the center is used for 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, myCelestialObject1, myVariable1, myVariable2, myArray1);

 

 

See also

LookAngleFrame Object

LookAngleFrame.CalculateLookAngles