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

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

 

Overload List

Signatures

Return Value

Description

Vehicle.Range(CelestialObject co)

Variable

Returns the distance between the calling Vehicle and co.

Vehicle.Range(GroundStation gs)

Variable

Returns the distance between the calling Vehicle and gs.

Vehicle.Range(Variable coID)

Variable

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

Vehicle.Range(Vehicle v)

Variable

Returns the distance between the calling Vehicle and v.

 

 

See also

Vehicle Object