Click or drag to resize

PlutoBspEphemerisProvider.UseForCentralBodyPositions Method

Uses this ephemeris provider for the position of the center of mass of Charon in the specified CentralBodiesFacet instance. This also sets the position of the PlutoSystemBarycenter. This does not set the position of PlutoCentralBody unless this class is also a Plu058BspEphemerisProvider and the plu058.bsp file is used.

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 the Pluto system barycenter or Charon, use one of the available points. This method also calls SynchronizeOrigins() on the barycenter and moons.
See Also