CelestialObject.GetPosVelAtEpoch(TimeSpan) Method

Top 

Description

Returns the X, Y, Z, VX, VY, VZ components of the state of the CelestialObject, referenced from the CentralBody.

 

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.GetPosVelAtEpoch(

TimeSpan epoch)

 

 

Arguments

epoch


Description:

The epoch at which the CelestialObject's state is evaluated.

 

 

 

Return Value

Type:

Array of number (size = 6)

 

 

Returns a six-element Array containing the position and velocity of the Celestial Object, referenced to the ICRF.

 

Syntax

myArray1 = myCelestialObject1.GetPosVelAtEpoch(myTimeSpan1);

 

 

See also

CelestialObject Object

CelestialObjects Guide