GroundVehicle.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. 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.

 

Overload List

Signatures

Return Value

Description

GroundVehicle.Range(CelestialObject co)

Variable

Returns the distance between the calling GroundVehicle and co.

GroundVehicle.Range(GroundStation gs)

Variable

Returns the distance between the calling GroundVehicle and gs.

GroundVehicle.Range(Variable coID)

Variable

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

GroundVehicle.Range(Vehicle v)

Variable

Returns the distance between the calling GroundVehicle and v.

 

 

See also

GroundVehicle Object