Click or drag to resize

MoonCentralBody 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 MoonCentralBody()
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 Moon from the calculation context:

C#
MoonCentralBody moon = CentralBodiesFacet.GetFromContext().Moon;

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

See Also