Vehicle.Range(CelestialObject) Method

Top 

Description

Returns the distance between the calling Vehicle and co.

 

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

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