Vehicle.VectorToObject(CelestialObject) Method

Top 

Description

Returns an Array containing the components of the vector originating at the location of the calling Vehicle and terminating at the location of targetCelestialObject, in MJ2000 Earth Equator coordinates.

 

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.

 

Method Signature

Vehicle.VectorToObject(

CelestialObject targetCelestialObject)

 

 

Arguments

targetCelestialObject


Description:

Object which designates the endpoint of the vector originating at the calling Vehicle.

 

 

 

Return Value

Type:

Array of number (size = 3)

Units:

km

 

 

Returns an Array containing the components of the vector originating at the location of the calling Vehicle and terminating at the location of the argument object, in MJ2000 Earth Equator coordinates.

 

Syntax

myArray1 = myVehicle1.VectorToObject(myCelestialObject1);

 

 

See also

Vehicle Object

Vehicle.VectorToObject