Spacecraft.Range Method

Top 

Description

Returns the distance between two Vehicles, a Vehicle and a GroundStation, or a Vehicle and a CelestialObject. The Range method requires a single argument, either a Vehicle, a CelestialObject, a CelestialObject BodyID, or a GroundStation object.

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode.

Click here to see the documentation for this object in nanosecond timing precision mode.

 

Overload List

Signatures

Return Value

Description

Spacecraft.Range(CelestialObject co)

Variable

Returns the distance between the calling Spacecraft and co.

Spacecraft.Range(GroundStation gs)

Variable

Returns the distance between the calling Spacecraft and gs.

Spacecraft.Range(Variable coID)

Variable

Returns the distance between the calling Spacecraft and the CelestialObject whose BodyId matches coID.

Spacecraft.Range(Vehicle v)

Variable

Returns the distance between the calling Spacecraft and v.

 

 

See also

Spacecraft Object

Spacecraft Propagation Guide

Coverage and Contact Analysis Guide