CelestialObject.VectorToObject(CoordinateSystem) Method

Top 

Description

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

 

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.

 

Method Signature

CelestialObject.VectorToObject(

CoordinateSystem targetCoordinateSystem)

 

 

Arguments

targetCoordinateSystem


Description:

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

 

 

 

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

 

Syntax

myArray1 = myCelestialObject1.VectorToObject(myCoordinateSystem1);

 

 

See also

CelestialObject Object

CelestialObject.VectorToObject

CelestialObjects Guide