Spacecraft.Range(CelestialObject) Method

Top 

Description

Returns the distance between the calling Spacecraft and co.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

 

Method Signature

Spacecraft.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 = mySpacecraft1.Range(myCelestialObject1);

 

See also

Spacecraft Object

Spacecraft.Range

Spacecraft Propagation Guide

Coverage and Contact Analysis Guide