CelestialObject.Range(Vehicle) Method

Top 

Description

Returns the distance from the center of the calling CelestialObject to the center of the targetVehicle at the targetVehicle's epoch.

 

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

CelestialObject.Range(

Vehicle targetVehicle)

 

 

Arguments

targetVehicle


Description:

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

Allowed Types:

Vehicle, GroundVehicle, Spacecraft

 

 

 

Return Value

Type:

number

Units:

km

 

 

Returns the distance from the center of the calling CelestialObject to the desired target object.

 

Syntax

myVariable1 = myCelestialObject1.Range(myVehicle1);

 

 

See also

CelestialObject Object

CelestialObject.Range

CelestialObjects Guide