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: 24.2.419.0 (24.2.419.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

The following 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