Spacecraft.RelativeAngle(Star, Star) Method

Top 

Description

Returns the angle measured between s1 and s2 with the calling Spacecraft as the vertex.

 

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

Spacecraft.RelativeAngle(

Star s1,


Star s2)

 

 

Arguments

s1


Description:

Star to use to form the desired angle.

 

 

s2


Description:

Second Star to use to form the desired angle.

 

 

 

Return Value

Type:

number

Units:

deg

 

 

Returns the angle measured between any two celestial objects, Stars, or Vehicles, with the calling Vehicle as the vertex.

 

Syntax

myVariable1 = mySpacecraft1.RelativeAngle(myStar1, myStar2);

 

 

See also

Spacecraft Object

Spacecraft.RelativeAngle

Spacecraft Propagation Guide

Coverage and Contact Analysis Guide