Click or drag to resize

EarthCentralBody Constructor

Initializes a new instance.

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

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

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

Examples

This example shows how to obtain the Earth from the calculation context:

C#
EarthCentralBody earth = CentralBodiesFacet.GetFromContext().Earth;
See Also