Vehicle.Range(Vehicle) Method

Top 

Description

Returns the distance between the calling Vehicle and v.

 

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.Range(

Vehicle v)

 

 

Arguments

v


Description:

Vehicle to use in the calculation of range from the calling Vehicle or GroundStation

Allowed Types:

Vehicle, GroundVehicle, Spacecraft

 

 

 

Return Value

Type:

number

Units:

km

 

 

Returns the distance between two Vehicles, a Vehicle and a GroundStation, or a Vehicle and a CelestialObject.

 

Syntax

myVariable1 = myVehicle1.Range(myVehicle2);

 

 

See also

Vehicle Object

Vehicle.Range