CelestialSystem.GetPositionOfObject(TimeSpan, Vehicle) Method

Top 

Description

Returns an Array containing the position of the argument object in the ICRF, referenced from the barycenter of the CelestialSystem.

 

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

CelestialSystem.GetPositionOfObject(

TimeSpan epoch,


Vehicle vehicle)

 

 

Arguments

epoch


Description:

The epoch at which to evaluate the system.

 

 

vehicle


Description:

The Vehicle whose position will be returned.

Allowed Types:

Vehicle, GroundVehicle, Spacecraft

 

 

 

Return Value

Type:

Array of number (size = 3)

Units:

km

 

 

Returns the X, Y, Z components of the state of the argument object in the ICRF.

 

Syntax

myArray1 = myCelestialSystem1.GetPositionOfObject(myTimeSpan1, myVehicle1);

 

 

See also

CelestialSystem Object

CelestialSystem.GetPositionOfObject

Rotating-Pulsating Systems Guide