CelestialSystem.SetReferenceBody(CelestialObject) Method

Top 

Description

Sets the CelestialObject to use as the origin when computing the position and velocity of the CelestialSystem's barycenter using the GetPositionAtEpoch, GetVelocityAtEpoch, and GetPosVelAtEpoch methods.

 

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.

 

Method Signature

CelestialSystem.SetReferenceBody(

CelestialObject referenceBody)

 

 

Arguments

referenceBody


Description:

The CelestialObject to set as the reference body of the CelestialSystem.

 

 

 

Syntax

myCelestialSystem1.SetReferenceBody(myCelestialObject1);

 

 

See also

CelestialSystem Object

Rotating-Pulsating Systems Guide