CelestialObject.Range Method

Top 

Description

Returns the distance between the calling CelestialObject and the specified target 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

CelestialObject.Range(Vehicle targetVehicle)

Variable

Returns the distance from the center of the calling CelestialObject to the center of the targetVehicle at the targetVehicle's epoch.

CelestialObject.Range(CelestialObject targetCelestialObject, TimeSpan epoch)

Variable

Returns the distance from the center of the calling CelestialObject to the center of the targetCelestialObject at the specified epoch.

CelestialObject.Range(GroundStation targetGroundStation, TimeSpan epoch)

Variable

Returns the distance from the center of the calling CelestialObject to the center of the targetGroundStation at the specified Epoch.

CelestialObject.Range(Variable targetCelestialObjectBodyID, TimeSpan epoch)

Variable

Returns the distance from the center of the calling CelestialObject to the center of the CelestialObject whose BodyID is targetCelestialObjectBodyID at the specified epoch.

 

 

See also

CelestialObject Object

CelestialObjects Guide