Click or drag to resize

EarthMoonBarycenterUpdateEarthMoonBarycenterPoint Method

Updates the CenterOfMassPoint of this EarthMoonBarycenter instance using the Earth-Moon mass ratio and the positions of the Earth and Moon. Then, calls SynchronizeOrigins to update the InertialFrame to use that new point as its origin.

Namespace:  AGI.Foundation.Celestial
Assembly:  AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public void UpdateEarthMoonBarycenterPoint(
	Point earthCenterOfMassPoint,
	Point moonCenterOfMassPoint,
	double earthMoonMassRatio
)

Parameters

earthCenterOfMassPoint
Type: AGI.Foundation.GeometryPoint
The center of mass of the Earth.
moonCenterOfMassPoint
Type: AGI.Foundation.GeometryPoint
The center of mass of the Moon.
earthMoonMassRatio
Type: SystemDouble
The gravitational parameter of the Earth divided by the gravitational parameter of the Moon.
See Also