CelestialObject.FixedPositionOfObject(CelestialObject, TimeSpan) Method

Top 

Description

Returns an Array containing the components of the vector from the calling CelestialObject's position to the target targetCelestialObject's position, in the body-fixed coordinate frame of the calling CelestialObject 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.FixedPositionOfObject(

CelestialObject targetCelestialObject,


TimeSpan epoch)

 

 

Arguments

targetCelestialObject


Description:

Object whose position will be returned.

 

 

epoch


Description:

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

 

 

 

Return Value

Type:

Array of number (size = 3)

 

 

Returns an Array containing the components of the vector from the prefix object's position to the target object's position, expressed in the body-fixed coordinate system of the prefix object.

 

Syntax

myArray1 = myCelestialObject1.FixedPositionOfObject(myCelestialObject2, myTimeSpan1);

 

 

See also

CelestialObject Object

CelestialObject.FixedPositionOfObject

CelestialObjects Guide