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.

 

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