Click or drag to resize

EarthMoonBarycenterComputeEarthMoonBarycenterPoint Method

Computes the position of the Earth-Moon barycenter using the Earth-Moon mass ratio and the positions of the Earth and Moon.

Namespace:  AGI.Foundation.Celestial
Assembly:  AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 24.1.418.0 (24.1.418.0)
Syntax
public static Point ComputeEarthMoonBarycenterPoint(
	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.

Return Value

Type: Point
The position of the Earth-Moon barycenter.
See Also