CentralBodiesFacetGetFromContext Method |
Namespace:
AGI.Foundation.Celestial
Assembly:
AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public static CentralBodiesFacet GetFromContext()
Public Shared Function GetFromContext As CentralBodiesFacet
public:
static CentralBodiesFacet^ GetFromContext()
static member GetFromContext : unit -> CentralBodiesFacet
Return Value
Type:
CentralBodiesFacetThe instance from the context.
Remarks Examples
This example shows how to obtain the Earth central body:
EarthCentralBody earth = CentralBodiesFacet.GetFromContext().Earth;
See Also