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 nanosecond timing precision mode.

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

 

Overload List

Signatures

Return Value

Description

CelestialObject.SetCartesianState(TimeSpan 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(TimeSpan 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(TimeSpan epoch, Array state, Variable referenceFrame, TimeSpan 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