Click or drag to resize

MarsBspEphemerisProviderUseForCentralBodyPositions Method

Uses this ephemeris provider for the positions of the centers of mass of Phobos, Deimos, and Mars in the specified CentralBodiesFacet instance. This also sets the position of the MarsSystemBarycenter. This set the position of MarsCentralBody as being identical to the MarsSystemBarycenter unless mar097.bsp is used instead of mars.bsp.

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

Parameters

centralBodiesFacet
Type: AGI.Foundation.CelestialCentralBodiesFacet
The central bodies to update to use this data.
Exceptions
ExceptionCondition
ArgumentNullException Thrown when centralBodiesFacet is .
Remarks
To use this ephemeris provider for only the Mars system barycenter or one of the moons, use one of the available points. This method also calls SynchronizeOrigins on the barycenter and moons.
See Also