Click or drag to resize

PlanetsBspEphemerisProvider.UseForCentralBodyPositions Method

Uses this ephemeris provider for the positions of the Sun, planetary barycenters, planets, Pluto, and the Moon. in the specified CentralBodiesFacet instance.

Namespace:  AGI.Foundation.Spice
Assembly:  AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public override void UseForCentralBodyPositions(
	CentralBodiesFacet centralBodiesFacet
)

Parameters

centralBodiesFacet
Type: AGI.Foundation.Celestial.CentralBodiesFacet
The central bodies to update to use this data.
Exceptions
ExceptionCondition
ArgumentNullException Thrown when centralBodiesFacet is null.
Remarks
To use this ephemeris provider for only one of these barycenters or central bodies, use one of the available points. This method also calls SynchronizeOrigins() on the barycenters and central bodies.
See Also