GroundVehicle.VectorToObject(Vehicle) Method

Top 

Description

Returns an Array containing the components of the vector originating at the location of the calling GroundVehicle and terminating at the location of targetVehicle, in the ICRF.

 

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

GroundVehicle.VectorToObject(

Vehicle targetVehicle)

 

 

Arguments

targetVehicle


Description:

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

Allowed Types:

Vehicle, GroundVehicle, Spacecraft

 

 

 

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 GroundVehicle and terminating at the location of the argument object, in the ICRF.

 

Syntax

myArray1 = myGroundVehicle1.VectorToObject(myVehicle1);

 

 

See also

GroundVehicle Object

GroundVehicle.VectorToObject