CelestialObject.SetCartesianState Method

Top 

Description

Sets the Cartesian state of the CelestialObject, 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 millisecond timing precision mode. Millisecond timing precision mode is deprecated and will be removed in a future release. We recommend that you migrate your Mission Plans to nanosecond timing precision mode.

Click here to see the documentation for this object in nanosecond timing precision mode.

 

Overload List

Signatures

Return Value

Description

CelestialObject.SetCartesianState(Variable epoch, Array state)

None

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

CelestialObject.SetCartesianState(Variable epoch, Array state, Variable referenceFrame)

None

Sets the Cartesian 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.

CelestialObject.SetCartesianState(Variable epoch, Array state, Variable referenceFrame, Variable frameEpoch)

None

Sets the Cartesian 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. The reference frame will be evaluated at the specified frameEpoch.

 

 

See also

CelestialObject Object

CelestialObjects Guide