Vehicle.RelativeAngle(Star, Vehicle) Method

Top 

Description

Returns the angle measured between s1 and v2 with the calling Vehicle 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

Vehicle.RelativeAngle(

Star s1,


Vehicle v2)

 

 

Arguments

s1


Description:

Star to use to form the desired angle.

 

 

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 = myVehicle1.RelativeAngle(myStar1, myVehicle2);

 

 

See also

Vehicle Object

Vehicle.RelativeAngle