Vehicle.Range(CelestialObject) Method

Top 

Description

Returns the distance between the calling Vehicle and co.

 

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(

CelestialObject co)

 

 

Arguments

co


Description:

CelestialObject to use in the calculation of range from the calling Vehicle

 

 

 

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(myCelestialObject1);

 

 

See also

Vehicle Object

Vehicle.Range