Spacecraft.RelativeAngle(Vehicle, Vehicle) Method

Top 

Description

Returns the angle measured between v1 and v2 with the calling Spacecraft as the vertex.

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode. Millisecond timing precision mode is deprecated and will be removed in a future release. We recommend that you migrate your Mission Plans to nanosecond timing precision mode.

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

 

Method Signature

Spacecraft.RelativeAngle(

Vehicle v1,


Vehicle v2)

 

 

Arguments

v1


Description:

Vehicle to use to form the desired angle.

Allowed Types:

Vehicle, GroundVehicle, Spacecraft

 

 

v2


Description:

Second Vehicle to use to form the desired angle.

Allowed Types:

Vehicle, GroundVehicle, Spacecraft

 

 

 

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(myVehicle1, myVehicle2);

 

 

See also

Spacecraft Object

Spacecraft.RelativeAngle

Spacecraft Propagation Guide

Coverage and Contact Analysis Guide