CelestialObject.SetKeplerianState(TimeSpan, Array, Variable) Method

Top 

Description

Sets the Keplerian state of the CelestialObject in the specified frame, referenced from the CentralBody. This requires that the CelestialObject uses a TwoBody propagator, and will error if other propagators are used.

 

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

TimeSpan epoch,


Array state,


Variable referenceFrame)

 

 

Arguments

epoch


Description:

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

 

 

state


Description:

array containing the Keplerian Elements in order: {A, E, I, RAAN, W, TA}

Required Size:

6

 

 

referenceFrame


Description:

The reference frame in which the state elements will be evaluated.

Valid Values:

Value

Label

1

ICRF

2

Mean of J2000 Earth Ecliptic

3

Mean of 1950 Earth Equator

 

 

 

 

Syntax

myCelestialObject1.SetKeplerianState(myTimeSpan1, myArray1, myVariable1);

 

 

See also

CelestialObject Object

CelestialObject.SetKeplerianState

CelestialObjects Guide