Click or drag to resize

SunCentralBody Constructor

Initializes a new instance.

Namespace:  AGI.Foundation.Celestial
Assembly:  AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 19.1.398.0 (19.1.398.0)
Syntax
public SunCentralBody()
Remarks

You should generally obtain an instance of this class from the CentralBodiesFacet instance in the calculation context instead of creating one directly.

Examples
This example shows how to obtain the Sun from the calculation context:
C#
SunCentralBody sun = CentralBodiesFacet.GetFromContext().Sun;

A default-constructed instance of SunCentralBody has the following characteristics:

See Also