CelestialObject.VectorToObject(GroundStation, TimeSpan) 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 targetGroundStation, in MJ2000 Earth Equator coordinates at epoch.

 

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

CelestialObject.VectorToObject(

GroundStation targetGroundStation,


TimeSpan epoch)

 

 

Arguments

targetGroundStation


Description:

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

 

 

epoch


Description:

The epoch at which the vector component array will be created.

 

 

 

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 MJ2000 Earth Equator coordinates.

 

Syntax

myArray1 = myCelestialObject1.VectorToObject(myGroundStation1, myTimeSpan1);

 

 

See also

CelestialObject Object

CelestialObject.VectorToObject

CelestialObjects Guide