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 nanosecond timing precision mode.

Click here to see the documentation for this object in millisecond 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